There was an error while loading. Please reload this page.
handling a <class 'ZeroDivisionError'> should below >>>x
handling a <class 'ZeroDivisionError'>
>>>x
>>> try: x = 1/0 except ZeroDivisionError as e: print('handling a', type(e)) x = 0 handling a <class 'ZeroDivisionError'> >>> x 0