Challenges
Leaderboards
Download
Buy
Program52
Sponsor
About
Contact
Login
Signup
[Python] Python
[Python] Python
🎳
A Billion Bowling Pins
Week 5, 2026
All Solutions
Python Solutions
import math Pins = int(input("How many pins: ")) Rows = (-1 + math.sqrt(1 + 8*(Pins))) / 2 Rows= math.floor(Rows) print(Rows)