Price after a discount
Task
The program reads the price of a product in euros (a decimal number) and a discount in percent (a whole number), each on its own line. It prints the discounted price to the cent, that is with two decimal places.
For the price 19.95 and the discount 20 the program prints:
Examples
Input
19.95 20
Expected output
Po zľave: 15.96 €
After you submit, 5 hidden tests will also check your solution: no discount, a 100 % discount, a 10 % discount, a 30 % discount, a pricier product.
You need to know
Python starts the first time you run code.
Ctrl+Enter runs the program. Tab indents. Press Esc, then Tab, to leave the editor.
Input (stdin)
Each line = one call to input().
Output
Hints
Try it yourself first. Each hint reveals a little more - and lowers the reward a little.
Signed out, hints are free - but no XP is awarded either.
Solution
The solution unlocks after the last hint.