Back to tasks
Square perimeter
BeginnerPython for kids 路 Lesson 17: input() - reading a number
Problem Statement
Read the side length of a square and print its perimeter.
Input Format
One whole number n (0 <= n <= 1000).
Output Format
One number - the result.
Examples
Example 1
Input
5
Output
20