Q. Which function lists module attributes?
Solution:
dir() lists all attributes and methods of a module, e.g., dir(math).
Get Question Bank
Strengthen Your Practice with our comprehensive question bank.
dir() lists all attributes and methods of a module, e.g., dir(math).
Strengthen Your Practice with our comprehensive question bank.