adplus-dvertising
frame-decoration

Question

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))

Answer: (d).print(dir(sys))

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. To obtain a list of all the functions defined under sys module, which of the following functions can be used?