First time here? Check out the FAQ!

Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

answered 10 years ago

LRM gravatar image

I found my own answer based on a related question, here is how I can do the same:

[(n,4*n^2 + 3) for n in range(51)]

Maybe I can find more ways to generate such sequences, maybe using lambda / "pure functions"