python the hard way ex upto ex13
This commit is contained in:
parent
dab9fe5912
commit
ed8222535a
7 changed files with 68 additions and 0 deletions
10
sami/learn-python-the-hard-way/ex13.py
Normal file
10
sami/learn-python-the-hard-way/ex13.py
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
#Parameters, Unpacking, Variables
|
||||
|
||||
from sys import argv
|
||||
# read the WYSS section for how to run this
|
||||
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)
|
||||
Loading…
Add table
Add a link
Reference in a new issue