Guides · Developers

Explain an Error in Code

Copy the error text and ask for a plain-language explanation and a fix.

2026-10-18

Steps

  1. 1
    Copy the error

    The whole text from the terminal or editor.

  2. 2
    Add your code

    Only the fragment where the error happened.

  3. 3
    Ask for a fix

    And an explanation of what exactly changed.

Example

ChatGPT
Step 1YouHere is the error: NameError: name 'pirnt' is not defined. Explain what is wrong and write the correct line
AIThe function is written print, not pirnt. The correct line: print('Привіт!')

AI can make mistakes. Always check the answers: the responsibility lies with the person, not the computer or artificial intelligence.