petit_herisson

导航

Exercise 11 - input

 

print("How old are you?")
age = input()
print("How tall are you?")
height = input()
print("How much do you weigh?")
weight = input()

print("So, you're %r old, %r tall and %r heavy." % (
age, height, weight))

output

How old are you?
23 yrs
How tall are you?
160cm
How much do you weigh?
50kg
So, you're '23 yrs' old, '160cm' tall and '50kg' heavy.

 

2019-09-27

15:23:07

posted on 2019-09-27 11:23  petit_herisson  阅读(81)  评论(0)    收藏  举报