ACTIVITY 4 / 50
Try as many times as you needA note for the programmer
Let’s understand
The # sign starts a comment: Python does not execute the rest of that line. A comment explains your intent to a person. To display a message, you still need print.
Listen to the explanation
Example
# A note
print("Start")Add a comment with any note and display Station ready.
I need a hint
The comment starts with #; the message uses print.
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.
Мой профиль