first commit

This commit is contained in:
liligeng111 2025-08-06 02:04:35 +08:00
parent abc6526143
commit 26631f9b48
24 changed files with 1089 additions and 1 deletions

13
Exercise/exercise-3.1.py Normal file
View file

@ -0,0 +1,13 @@
# 请根据用户输入的年龄输出在学校的阶段:
# 0-5 输出 学龄前
# 6-11 输出 小学
# 12-14 输出 初中
# 15-17 输出 高中
# 18-21 输出 大学
# 22-59 输出 打工人
# 60+ 输出 退休了
print('请输入你的年龄:')
age = int(input())
if age < 6:
print('学龄前')