ACTIVITY 1 / 50
Try as many times as you needYour first message
Let’s understand
A program gives instructions to a computer. Python reads them from top to bottom. The print function displays a message in the result panel. Put text inside matching quotation marks and parentheses. You can change the message; the word print stays the same.
Listen to the explanation
Example
print("Hello robot!")Display “Hello, Veda!” without the outer quotation marks, including the comma and exclamation mark.
I need a hint
Start with print, then add parentheses and quoted text.
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.
Мой профиль