Python 官方文档:入门教程 => 点击学习
练习代码如下# coding: utf-8__author__ = 'www.py3study.com'age = input(u"How old are you ?")height = input(u&
练习代码如下
# coding: utf-8
__author__ = 'www.py3study.com'
age = input(u"How old are you ?")
height = input(u"How tall are you ?")
weight = input(u"How much do you weight ?")
print("So, you're {} old, {} tall and {} heavy.".fORMat(age, height, weight))
应该看到的结果
How old are you ?18
How tall are you ?180
How much do you weight ?130
So, you're 18 old, 180 tall and 130 heavy.
--结束END--
本文标题: 习题12:提示别人
本文链接: https://lsjlt.com/news/178856.html(转载时请注明来源链接)
有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341
2024-03-01
2024-03-01
2024-03-01
2024-02-29
2024-02-29
2024-02-29
2024-02-29
2024-02-29
2024-02-29
2024-02-29
回答
回答
回答
回答
回答
回答
回答
回答
回答
回答
0