Commit 28316a47 by BellCodeEditor

save project

parent c1dca0da
Showing with 8 additions and 3 deletions
# 我们都爱夸夸夸
name = input("你叫什么名字?")
print(name+",你好")
\ No newline at end of file
age = input("你今年多少岁啦?")
if int(age) > 12:
print("你今年比我大"+str(int(age)-12)+"岁")
elif int(age) < 12:
print("你今年比我小"+str(12-int(age))+"岁")
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