- Pyroom
- Tutorials
- AI Assistant
- Get a Python error explained in plain language
Get a Python error explained in plain language
The AI Assistant turns a traceback into a short explanation: what happened, why, and what to change.
Beginner Video coming soon. The steps below show everything the video will cover.
Steps
- This program joins text and a number, which Python does not allow.
- Run it. The console shows a TypeError.
- Select AI Assistant above the console. It explains the error in plain words and suggests a change.
- Turn the number into text with str, then run again. Always read the hint and make the change yourself.
Read the transcript
This program joins text and a number, which Python does not allow.
Run it. The console shows a TypeError.
Select AI Assistant above the console. It explains the error in plain words and suggests a change.
Turn the number into text with str, then run again. Always read the hint and make the change yourself.