argv is an array (at least in C language,but I guess it will be the same here).
By the argv array you can manage the arguments you give in the command line.
You may have a program that needs more than one argument in order to run.So you type for example:
exercise.py 12 23 54
exercise.py is argv[0]
12 is argv[1]
23 is argv[2] and
54 is argv[3]
I hope I helped!
argv is an array (at least in C language,but I guess it will be the same here).
By the argv array you can manage the arguments you give in the command line.
You may have a program that needs more than one argument in order to run.So you type for example:
exercise.py 12 23 54
exercise.py is argv[0]
12 is argv[1]
23 is argv[2] and
54 is argv[3]
I hope I helped!