一个胖子的paython之路(1)

一个胖子的paython之路(1)

vim ex12.py

age = raw_input("How old are you? ")

height = raw_input("How tall are you? ")

weight = raw_input("How much do you weigh? ")

print "So, you're %r old, %r tall and %r heavy." % (

age, height, weight)


python .ex12.py

How old are you ? 25

How tall are you? 183

How much do you weigh? 220

So,you're '25' old, '183' tall and '220' heavy.