[Python] Python - Inefficient but works method [Python] Python - Inefficient but works method

🎳

A Billion Bowling Pins

Week 5, 2026

# meths or maths? goals = [1_000_000, 1_000_000_000] for goal in goals: i = 0 while goal >= 0: i += 1 goal -= i print(i-1)