PYTHON CIRCLE
Practice
Python Books
Archive
Subscribe
Login
Menu
Login
Practice
Python Books
Archive
Subscribe
Blog available for sell
This blog is available for sale. Please 'contact us' if interested.
Advertise with us
Python Multiple Choice Questions
The output of the function len(sys.argv) is ____________
A. Error
B. 1
C. 0
D. Junk value
Show Answer
Next Question
Correct Answer:
B
Explanation: The output of the function sys.argv is [' ']. When we execute the function len([' ']), the output is 1. Hence the output of the function len(sys.argv) is also 1.
© 2024-2025 Python Circle
Contact
Sponsor
Archive
Sitemap