Skip to content

Commit f960317

Browse files
committed
提交注释
1 parent 7ab9062 commit f960317

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎first learn/if.py‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
age = int(input("输入你的年龄:"))
2-
if age >= 18:
3-
print("成年了")
4-
elif age >= 30:
2+
if age >= 30:
53
print("太老了")
4+
elif age >= 18:
5+
print("成年了")
66
else:
77
print("你还太年轻了")

0 commit comments

Comments
 (0)