Run
a = 3 b = 0 c = 0 try: c = a/b except ZeroDivisionError: print('b cannot be zero') print(c)
Output