Unit 2 Task 11: Strawberry stand checkout

Learn to code with step-by-step lessons. A place for students to work through programming fundamentals and build skills.

Unit 2 Task 11 - Strawberry stand checkout

← Unit 2 tasks · Solution


You sell strawberries. Ask once for the cost (float). Then ask how much money the customer gives you.

Use a loop, and if / elif / else as needed.

Skills: while, floats, round.