A Real Catch all : Try : Statement PYTHON TUTORIALS


PYTHON TUTORIALS » Statement » Try »

 

A Real Catch all


try
    x = input('Enter the first number: ') 
    y = input('Enter the second number: ') 
    print x/y 
except: 
    print 'Something wrong happened...'



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


PYTHON TUTORIALS

 Navioo Statement
» Try