To obtain a list of all the functions defined under sys module, which of the following functions can be used?
(a) print(sys)
(b) print(dir.sys)
(c) print(dir[sys])
(d) print(dir(sys))
I got this question in a national level competition.
This intriguing question comes from Sys Module topic in division Mapping Functions and Modules of Python