Global variable: name not defined

前端 未结 0 1975
渐次进展
渐次进展 2020-12-14 06:02

So I was trying to build a calculator:

def button_add():
    first_num = e.get()
    global f_num
    global math
    math = "add"
    f_num = int(f         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题