Exercise 12 - input
age = input("How old are you?")
height = input("How tall are you?")
weight = input("How much do you weigh?")
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:46:47
posted on 2019-09-27 11:47 petit_herisson 阅读(89) 评论(0) 收藏 举报
浙公网安备 33010602011771号