print("Enter '1' for exit."); print("Enter two numbers: "); val1 = int(input()); val2 = int(input()); if val1 == 1: exit(); else: add = val1 + val2; print("Addition is : ",add);
No comments: