Мой профиль
ACTIVITY 3 / 50

A picture made of symbols

Try as many times as you need

Let’s understand

A space inside quotation marks is part of the text too. Spaces and stars can form a picture. Python preserves their order, which is useful in small text games.

Listen to the explanation

Example

print("[]")
print("||")
YOUR MISSION

Draw three lines: *, then **, then ***. No spaces.

I need a hint

Quotation marks are not printed; the stars inside them are.

How to find an error
  1. Read the last line of the error message.
  2. Find the indicated line. Check quotes, parentheses and indentation.
  3. Change one thing and run again.

main.py

4 spaces

Your draft stays in this browser.

Result

Python
Your program’s output will appear here. Click Run.