[Python] python[Python] python

🎳

A Billion Bowling Pins

Week 5, 2026

//Paste your solution here if you want to share it publiclyrows = 0 number = 1 n = int(input()) while n > 0: n -= number number += 1 rows += 1 if n < 0: rows -= 1 print(rows)