[Python #2] create e13.py
This commit is contained in:
parent
e43b6d8ebc
commit
adfc2fe765
2 changed files with 10 additions and 0 deletions
8
kjg/python-the-hard-way/e13.py
Normal file
8
kjg/python-the-hard-way/e13.py
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
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)
|
|
@ -77,3 +77,5 @@ how to use \ (using special chracter)
|
||||||
how to use key input
|
how to use key input
|
||||||
**** ex12
|
**** ex12
|
||||||
how to use key input with print
|
how to use key input with print
|
||||||
|
**** ex13
|
||||||
|
how to use an argument when you run script
|
||||||
|
|
Loading…
Reference in a new issue