python the hard way ex upto ex13
This commit is contained in:
parent
dab9fe5912
commit
ed8222535a
7 changed files with 68 additions and 0 deletions
8
sami/learn-python-the-hard-way/ex11.py
Normal file
8
sami/learn-python-the-hard-way/ex11.py
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
print("How old are you?", end=' ')
|
||||
age = input(29)
|
||||
print("How tall are you?", end=' ')
|
||||
height = input(180)
|
||||
print("How much do you weigh?", end=' ')
|
||||
weight = input(78)
|
||||
|
||||
print(f"So, you're {age} old, {height} tall and {weight} heavy.")
|
||||
Loading…
Add table
Add a link
Reference in a new issue