Skip to main content

Exception Handling in Python

 




a = input()
b = input()
try:
    print("The sum of  no is: ",int(a)+int(b))

except Exception as e:
    print(e)

print("this is important")



Comments