Back to tasks
Discounts
BeginnerPython for kids 路 Lesson 23: elif - many options
Problem Statement
For shopping worth at least 200 zloty the discount is 30 zloty, at least 100 zloty - 10 zloty, and below that there's no discount. Read the amount and print how much to pay.
Input Format
One whole number - the amount in zloty (1..1000).
Output Format
One number - the result.
Examples
Example 1
Input
250
Output
220
Example 2
Input
150
Output
140
Example 3
Input
50
Output
50