Answers for "python exception not shown"

1

try except python not working

b = 0
try:
    print(a/b) # a/0
except ZeroDivisionError:
    print("It's Infinite")
Posted by: Guest on July-22-2021

Code answers related to "python exception not shown"

Python Answers by Framework

Browse Popular Code Answers by Language