AlgoBazaAlgoBaza
Back to tasks

Christmas tree

Beginner

Python for kids 路 Lesson 1: Your first program

Problem Statement

Draw a tree made of stars. The spaces at the start of the lines matter too:

  *
 ***
*****
  |
Output Format

Exactly the text from the example.

Examples
Example 1

Output

  *
 ***
*****
  |