1. Pyroom
  2. Tutorials
  3. AI Assistant
  4. 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

  1. This program joins text and a number, which Python does not allow.
  2. Run it. The console shows a TypeError.
  3. Select AI Assistant above the console. It explains the error in plain words and suggests a change.
  4. 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.

Try it in the Playground

Nothing to install and no account needed.

Open Playground →