Example & Tutorial understanding programming in easy ways.

How we Handle the exception in Python ?

We can Handle the Exception by using the try except block.

- Try is a block where chances of exception will be possible.

- except is a block which execute when the exception is occur

program:

try:

    a=1/0

except:

    print("Error")


//output is Error

Read More →
Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!