[Solved] Error: invalid literal for int() with base 10: ” [closed]


5th or 6th or 7th argument passed to calcola_cedimento is empty string, i.e. at least one of following returned empty string

finestra_ag.get()
finestra_ss.get()
finestra_st.get()

If user is allowed to let said entries empty you should provide default values for this case. If for example ag value should be "1" in such case, you might do

ag = "1" if ag=="" else ag

before

amax = int(ag) * int(ss) * int(st)

solved Error: invalid literal for int() with base 10: ” [closed]