Try except exception concept in python

 = input("Enter the first number: ")

= input("Enter the second the number: ")
# print("this is the sum of these two numbers",int(x)+int(y))
# print("impo line")

try:
    print("This is the sum of these two numbers",int(x)+int(y))
except Exception as e:
    print(e)
print("this is very important line")

Comments