新人求解
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("You third variable is:", third)
感觉这段话每月错啊,为啥运行提示错误呢??
>>> python ex_13.py 1 2 3
File "<stdin>", line 1
python ex_13.py 1 2 3
^
SyntaxError: invalid syntax