Commit 887709ac by BellCodeEditor

save project

parent a4cff2ff
Showing with 6 additions and 7 deletions
# 直接运行以下代码,说说你的发现: d=int(input('请输入年份:'))
en={'张三':,10,'李白':,21,'愚公':,22,'老八':,30} if d%4==0:
en['蔡徐坤']=80 print('这年份为闰年')
print(en) else:
if'蔡徐坤'in en: print('这年份为平年')
print(en['蔡徐坤']) \ No newline at end of file
\ 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