Skip to content

Latest commit

 

History

History
4 lines (4 loc) · 318 Bytes

ex13-sd1.md

File metadata and controls

4 lines (4 loc) · 318 Bytes

argv needs at least 4 variables. The first variable is at index 0 and should be the name of the executed script. From index 1 - 3, the arguments get assigned to the variables first, second and third. When fewer than 3 arguments are given, argv cannot properly assign the variables and thus it results in a ValueError.