1.

Where are the arguments received from the command line stored?(a) sys.argv(b) os.argv(c) argv(d) none of the mentionedThis question was addressed to me in a job interview.My doubt stems from Argument Parsing 2 topic in division Argument Passing, Global vs Local Variables, Shallow copy vs Deep copy and Recursion of Python

Answer» CORRECT CHOICE is (a) sys.argv

Easy EXPLANATION - REFER DOCUMENTATION.


Discussion

No Comment Found

Related InterviewSolutions