[Python #2] create e11.py

This commit is contained in:
kjg 2020-05-20 21:55:04 +09:00
parent 63052676fc
commit 65f0d43cfa
2 changed files with 11 additions and 0 deletions

View file

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

View file

@ -73,3 +73,6 @@ learn about a more complicated formatting of a string. {}
how to print for multiline or nextline
**** ex10
how to use \ (using special chracter)
**** ex11
how to use key input