β
Correct Answer: (B)
number of arguments + 1
Explanation: the first argument is the name of the program itself. therefore the length of sys.argv is one more than the number arguments.
Explanation by: Mr. Dubey
the first argument is the name of the program itself. therefore the length of sys.argv is one more than the number arguments.
Discussion
Question Analytics
93
Total Visits
3 y ago
Published
Mr. Dubey
Publisher
90%
Success Rate