Shopping Bill
Python
20 pts
Shopping Bill
Selam buys 3 notebooks at 25 Nakfa each and 2 pens at 10 Nakfa each. She pays with 200 Nakfa.
Print three lines: the cost of the notebooks, the total cost, and her change. Let Python do every calculation — do not type the answers yourself.
Expected output:
75 95 105
Checklist
- Let Python calculate and print the cost of the notebooks, the total cost and Selam's change, each on its own line.
🔑 Solution
If you view the solution before passing, you earn half points for this exercise. You still need to type it and press Check to finish.
How it works, step by step
Point at a step to highlight its lines. Type the solution yourself and press Check answer to finish.
