Back to tasks
At most 100
BeginnerPython for kids 路 Lesson 21: if - when the condition is true
Problem Statement
Read a number n (0 or more). If it is greater than 100, change it to 100. Print n.
Input Format
One whole number n (0 <= n <= 1000).
Output Format
One number - the result.
Examples
Example 1
Input
250
Output
100
Example 2
Input
42
Output
42