AlgoBazaAlgoBaza
Back to tasks

A tree made by multiplying

Beginner

Python for kids 路 Lesson 7: Text: joining and repeating

Problem Statement

Draw a tree using text multiplication (spaces times a number and stars times a number):

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

Exactly the text from the example.

Examples
Example 1

Output

   *
  ***
 *****
*******
  | |