Try except exception concept in python
x = input("Enter the first number: ")
y = 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
Post a Comment