diff --git a/my_first_calculator.py b/my_first_calculator.py index bf7c560..6b4322f 100644 --- a/my_first_calculator.py +++ b/my_first_calculator.py @@ -20819,4 +20819,10 @@ if num1 == 50 and sign == '*' and num2 == 49: if num1 == 50 and sign == '*' and num2 == 50: print("50*50 = 2500") +try: + num1 = int(num1) + num2 = int(num2) +except e: + print(num1, sign, num2, "=", num1, sign, num2) + print("Thanks for using this calculator, goodbye :)")