[Python #2] create e13.py

This commit is contained in:
kjg 2020-05-20 22:37:15 +09:00
parent e43b6d8ebc
commit adfc2fe765
2 changed files with 10 additions and 0 deletions

View 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)

View file

@ -77,3 +77,5 @@ how to use \ (using special chracter)
how to use key input
**** ex12
how to use key input with print
**** ex13
how to use an argument when you run script