Back to tasks
A bonus for 100 points
BeginnerPython for kids 路 Lesson 21: if - when the condition is true
Problem Statement
Read a player's points. If they have at least 100, add a bonus of 50 points. Print how many points they have.
Input Format
One whole number - the points (0 <= points <= 1000).
Output Format
One number - the result.
Examples
Example 1
Input
120
Output
170
Example 2
Input
99
Output
99