AlgoBazaAlgoBaza
Back to tasks

Doubling

Beginner

Python for kids 路 Lesson 12: Changing a variable

Problem Statement

Set x = 2. Print x, double it, print it, double it again and print it again.

Output Format

Exactly the text from the example.

Examples
Example 1

Output

2
4
8