ACTIVITY 5 / 50
Try as many times as you needRepair a command
Let’s understand
Python checks how an instruction is written. A missing closing quote or parenthesis causes a SyntaxError. It is useful feedback pointing to something that needs fixing.
Listen to the explanation
Example
print("It works!")Fix the unfinished instruction to display Signal received.
I need a hint
Match every opening quote and parenthesis with a closing one.
How to find an error
- Read the last line of the error message.
- Find the indicated line. Check quotes, parentheses and indentation.
- Change one thing and run again.
main.py
4 spaces
Your draft stays in this browser.
Result
PythonYour program’s output will appear here. Click Run.
Мой профиль