MCPcopy Create free account
hub / github.com/subbarayudu-j/TheAlgorithms-Python / sol2.py

File sol2.py

project_euler/problem_12/sol2.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1def triangle_number_generator():
2 for n in range(1,1000000):
3 yield n*(n+1)//2
4

Callers

nothing calls this directly

Calls 2

count_divisorsFunction · 0.70

Tested by

no test coverage detected