代码如下:
点击查看代码
# -*-coding:utf-8- -*-
# 提示别人
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)
print "So, you're %s old, %s tall and %s heavy." % (
age, height, weight)
执行结果: