AlgoBazaAlgoBaza
Back to tasks

Rectangle perimeter

Beginner

Python for kids 路 Lesson 11: Variables - labelled boxes

Problem Statement

The same rectangle (8 by 5). Print its perimeter: 2 times the length plus 2 times the width.

Output Format

One number - the result.

Examples
Example 1

Output

26