So I'm reading a book and I saw that he did this:
from sys import argv
script, first, second, third = argv
print ("The script is called: ", script)
print ("Your first variable is: ",first )
print ("Your second variable is: ", second)
print ("Your third variable is: ", third)
and it give this error but in the book it works:
Traceback (most recent call last):
File "c:\Users\FORCE 5 CORE\Desktop\visual studio code file\1\ex1.py", line 123, in <module>
script, first, second, third = argv
ValueError: not enough values to unpack (expected 4, got 1)