Answers for "except not working python"

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

Python Answers by Framework

Browse Popular Code Answers by Language