The following lines of code have been mixed by mistake. Rearrange them so that we can output the error traceback!
Traceback module
Print the traceback
Report a typo
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:
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.