[Solved] Divide by zero error input into Tkinter message for a calculator

[ad_1]

Add ZeroDivisionError to the list of your exceptions:

except (SyntaxError, NameError, ZeroDivisionError):

1

[ad_2]

solved Divide by zero error input into Tkinter message for a calculator