LearnPy Hub
← If…Else problems
Easy

Discount Over 1000

Read a bill amount. If it is more than 1000 Tk, take 10% off. Print the amount to pay with 2 decimals.

Input

One number.

Output

One number.

Sample 1

Input
1500
Output
1350.00

Sample 2

Input
1000
Output
1000.00
solution.py
Output appears here
Discount Over 1000 · Python practice problem · LearnPy Hub