摘要: # coding=utf-8"""计算器软件界面设计"""from tkinter import *from tkinter import messageboxclass Application(Frame): def __init__(self, master=None): super().__i 阅读全文
posted @ 2019-09-15 15:21 雪瞳 阅读(1545) 评论(0) 推荐(0) 编辑
摘要: # coding=utf-8import math"""s=a+aa+aaa+aaaa+aa...a的值,其中a是一个数字。例如2+22+222+2222+22222(此时共有5个数相加),几个数相加由键盘控制。程序分析:关键是计算出每一项的值"""num = []number = int(inpu 阅读全文
posted @ 2019-09-15 10:49 雪瞳 阅读(152) 评论(0) 推荐(0) 编辑