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

19
Exercise/exercise-2.3.py Normal file
View file

@ -0,0 +1,19 @@
age_dict = {
"Zhang San": 52,
"Li Si": 19,
"Wang Wu": 47
}
# 检查后发现张三的年龄和李四的年龄写反了请将他们调整过来。并添加Zhao Liu年龄为29
# 应当为 19
print(age_dict['Zhang San'])
# 应当为 52
print(age_dict['Li Si'])
# 应当为 29
print(age_dict['Zhao Liu'])