Exerpad
🔥 0
0 XP
Exercise 11 · Chapter: While LoopsOptional+50 XP

Coin Quest: Coin Collector

🪙 Time to actually grab coins! Each grab is worth 10 coins, and your pouch holds 30.

Start coins at 0. While coins is less than 30: add 10, then print Grabbed! Coins: <coins>. When the pouch is full, print Full pouch!

Expected output
Grabbed! Coins: 10
Grabbed! Coins: 20
Grabbed! Coins: 30
Full pouch!
Need a hint?
3 available · costs 5 XP each
python

Output
Run your code to see the output here.