Prameters, Unpacking, Variables


Sun Jun 07 2020 06:07:28 GMT+0000 (UTC)

Saved by @Amna #python

from sys import argv
script, first, second

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

This method can also be used to pass variables to a script(python file). import is used to add features to your script from the Python feature set. The argv is the argument variable, a very standard name in programming that you will find used in many programming languages.