AlgoBazaAlgoBaza
Back to tasks

A growing zigzag

Beginner

Python for kids 路 Lesson 12: Changing a variable

Problem Statement

Start with pattern = "\\/". Twice, join the pattern to itself (pattern = pattern + pattern) and print the result:

\/\/\/\/
Output Format

Exactly the text from the example.

Examples
Example 1

Output

\/\/\/\/