摘要: def division(): '''功能:分苹果''' print("\n 分苹果了 \n") apple=int(input("请输入苹果的个数:")) children=int(input("请输入来了几个小朋友:")) result=apple//children remain=apple- 阅读全文
posted @ 2022-11-09 15:06 Crushf 阅读(22) 评论(0) 推荐(0)
摘要: print("\n","="*10,"蚂蚁庄园动态","="*10) file=open('message.txt','w') print("\n即将显示......\n") print("\n","="*10,"蚂蚁庄园动态","="*10) file=open('message.txt','w' 阅读全文
posted @ 2022-11-09 15:04 Crushf 阅读(12) 评论(0) 推荐(0)