

InterviewSolution
Saved Bookmarks
1. |
What is the length of sys.argv?(a) number of arguments(b) number of arguments + 1(c) number of arguments – 1(d) none of the mentioned |
Answer» The correct answer is (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. |
|