awsome program with try except and if else

 try:

    n = int(input("enter it : "))
    if n>10:
        print(True)
    else:
        print(False)
except:
    raise Exception('There has been an error in the system')

Comments

Popular posts from this blog