摘要: from tkinter import * def Calculate(): a1 = int(text1.get('1.0', END)) # 从行首取到行尾 a2 = int(text2.get('1.0', END)) a3 = a1 + a2 text3.delete('1.0', END) 阅读全文
posted @ 2020-03-19 20:39 Iceberg_710815 阅读(1117) 评论(0) 推荐(0) 编辑