Commit ba8d23fa by BellCodeEditor

save project

parent f3b8e353
Showing with 10 additions and 0 deletions
i = iuput("请输入孩子的年龄")
int(i)
if i>=2 and i<=12:
a=i*5+75
b=i*2+8
print("孩子的标准身高:" + "a" + "厘米")
print("孩子的标准体重:" + "a" + "千克")
else:
print("孩子年龄不在适用范围内")
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment