[Python #2] create e12.py
This commit is contained in:
parent
65f0d43cfa
commit
e43b6d8ebc
2 changed files with 7 additions and 1 deletions
5
kjg/python-the-hard-way/e12.py
Normal file
5
kjg/python-the-hard-way/e12.py
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
age = input("How old are you? ")
|
||||||
|
height = input("How tall are you? ")
|
||||||
|
weight = input("How much do you weight? ")
|
||||||
|
|
||||||
|
print(f"So, you're {age} old, {height} tall and {weight} heavy.")
|
|
@ -75,4 +75,5 @@ how to print for multiline or nextline
|
||||||
how to use \ (using special chracter)
|
how to use \ (using special chracter)
|
||||||
**** ex11
|
**** ex11
|
||||||
how to use key input
|
how to use key input
|
||||||
|
**** ex12
|
||||||
|
how to use key input with print
|
||||||
|
|
Loading…
Reference in a new issue