Print the traceback

Report a typo

The following lines of code have been mixed by mistake. Rearrange them so that we can output the error traceback!

Reorder lines using drag or arrows. Adjust indentation with left buttons
                try:
              
                tbk = e.__traceback__
              
                output = 5.upper()
              
                import traceback
              
                traceback.print_tb(tbk, limit=None)
              
                except Exception as e:
              
___

Create a free account to access the full topic