笨办法学python 习题12:提示别人
程序员文章站
2022-03-16 11:22:39
...
继续熟悉输入
练习
#不用print了,用input进行输入提示
y = input("Name? ")
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))
打印结果
pydoc用法
上一篇: 链路聚合原理与配置