Back to tasks
A discount
BeginnerPython for kids 路 Lesson 21: if - when the condition is true
Problem Statement
A shop gives a 10 zloty discount on shopping more expensive than 100 zloty. Read the price and print how much to pay.
Input Format
One whole number - the price in zloty (1 <= price <= 1000).
Output Format
One number - the result.
Examples
Example 1
Input
150
Output
140
Example 2
Input
100
Output
100