Answers for "using try and exception python did not work"

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 "using try and exception python did not work"

Python Answers by Framework

Browse Popular Code Answers by Language