0001以下、5ちゃんねるからVIPがお送りします
2022/02/11(金) 18:41:29.884ID:9T3EsPQI0top = tk.Tk()
result = tkinter.Label(top)
result.pack()
def calculate(self):
shiki = 1 + 1
top.bind("<Return>", calculate)
top.mainloop()
shikiの式ではなくて計算結果を表示したいのだがどうすればいい?
出力にはprint()を使う