try except python not working

Do you want to know the details regarding “try except python not working”. If yes, you’re in the correct tutorial.

try except python not working

b = 0
try:
    print(a/b) # a/0
except ZeroDivisionError:
    print("It's Infinite") 

Final Thoughts

I hope this tutorial helps you to know about “try except python not working”. If you have any doubts regarding this post please let us know via the comment section. Share this tutorial with your friends and family via social networks.

Hi, I'm Ranjith a full-time Blogger, YouTuber, Affiliate Marketer, & founder of Coder Diksha. Here, I post about programming to help developers.

Share on:

Leave a Comment