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
//Paste your solution here if you want to share it publicly import math x = int(input()) y = (-1 + math.sqrt(1 + 8*(x))) / 2 y= math.floor(y) print(y)