← back to unit
Medium
# loops
Collect the Coin Piles
While exploring a dungeon room, you find several piles of coins scattered around. Add them all up! 🪙
You're given a list of coin piles (already split into coin_piles for you). Loop through it and print the total.
💡 need a hint?
loop-collect-coins.py🔒 given lines are locked — write your code in between
loading...