AlgoBazaAlgoBaza
Back to tasks

Piggy bank

Beginner

Python for kids 路 Lesson 12: Changing a variable

Problem Statement

There's 20 zl in the piggy bank. You add 15 zl, then spend 8 zl. Print how much is left.

Output Format

One number - the result.

Examples
Example 1

Output

27