Learning Circle : python #2 - ex11, ex12

This commit is contained in:
youngjin.han 2020-05-20 22:17:57 +09:00
parent 64bc3ef9f2
commit c0b8006422
3 changed files with 23 additions and 1 deletions

View file

@ -0,0 +1,12 @@
#print("How old are you?", end=' ')
#age = input()
#print("How tall are you?", end=' ')
#height = input()
#print("How much do you weigh?", end=' ')
#weight = input()
age = input("How old are you?" ' ')
height = input("How tall are you?" ' ')
weight = input("How much do you weigh?" ' ')
print(f"So, you're {age} old, {height} tall and {weight} heavy.")

View file

@ -0,0 +1,5 @@
age = input("How old are you? ")
height = input("How tall are you? ")
weight = input("How much do you weigh? ")
print(f"So, you're {age} old, {height} tall and {weight} heavy.")

View file

@ -5,7 +5,12 @@
- ex9.py
- none
- ex10.py
-
- none
- ex11.py
- none
- ex12.py
- pydoc input
- describe input on python. It looks like man commnad on linux shell.
* 2020-05-18
** note