1 Star 0 Fork 0

金迩道/learn-python

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
geeter.py 500 Bytes
一键复制 编辑 原始数据 按行查看 历史
jincihang 提交于 2023-12-13 16:43 . init demo
name = input("Please enter your name:")
print(f"\nHello,{name}!")
prompt = "If you tell us who you are, we can personalize the messages you see."
prompt += "\nWhat is your first name?"
name = input(prompt)
print(f"\nHello,{name}!")
age = input("How old are you?")
age = int(age)
print(age >= age)
height = input("How tall are you, in inches? ")
height = int(height)
if height >= 48:
print("\nYou're tall enough to ride!")
else:
print("\nYou'll be able to ride when you're a little older.")
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/kingjch/learn-python.git
git@gitee.com:kingjch/learn-python.git
kingjch
learn-python
learn-python
main

搜索帮助