1.

What is the type of sys.argv?(a) set(b) list(c) tuple(d) stringI have been asked this question by my college professor while I was bunking the class.I'm obligated to ask this question of Argument Parsing 2 in chapter Argument Passing, Global vs Local Variables, Shallow copy vs Deep copy and Recursion of Python

Answer»

The CORRECT answer is (B) list

The BEST I can explain: It is a list of ELEMENTS.



Discussion

No Comment Found

Related InterviewSolutions