提問
- 輸入:
# -- coding: utf-8 --
print "How old are you?",
age = raw_input()
print "How tall are you?",
height = raw_input()
print "How much do you weight?",
weight = raw_input()
print "So, you're %r old, %r tall and %r heavy." % (
age, height, weight)
-
運行:
6'2"入挣,最后打印出來自動加上了\祈纯,是防止單引號被當作字符串的結(jié)尾您朽,就需要\來轉(zhuǎn)義單引號