Prameters, Unpacking, variables


Mon Jun 08 2020 12:33:50 GMT+0000 (UTC)

Saved by @Amna #python

from sys import argv
script, first, second = argv

print("The script is called:", script)
print("The first variable is:", first)
print("The second variable is:", second)

import means this is how you add features to your script from the Python features set. The argv is the argument variable, a very standard name in programming that you will find used in many other languages.