AlgoBazaAlgoBaza
Back to tasks

A sum in brackets

Beginner

Python for kids 路 Lesson 3: Adding, subtracting, multiplying

Problem Statement

Print the sum in square brackets, and next to it the result calculated by Python:

[8 + 4] = 12
Output Format

Exactly the text from the example.

Examples
Example 1

Output

[8 + 4] = 12