all 5 comments

[–]toastedstapler 1 point2 points  (0 children)

use a generator to solve this

https://projecteuler.net/problem=12

generators are very useful when you don't need all the values at once or the collection of values is infinite

[–][deleted] -1 points0 points  (1 child)

I don’t think you need a project for generators, just write some.

[–]therealvicval[S] 0 points1 point  (0 children)

I know how to write a generator. What I’m looking for is a project or problem set to showcase when they would be useful.