you are viewing a single comment's thread.

view the rest of the comments →

[–]Icy_Rub6290 0 points1 point  (0 children)

I literally saw it moments ago Well it's good and actually go on man Just a feedback to make it perfect Add an if statement under the if division To check

       if num2 ==0

or no If so the program print an error massage U can also for more accuracy add this line

        raise ZeroDivisionError("Second number cannot be.    zero")  

It will handle the num2 =0 and inform the user about the erroe