79630039

Date: 2025-05-20 08:11:21
Score: 0.5
Natty:
Report link

Using more_itertools.iterate and take:

from more_itertools import iterate, take

take(10, iterate(lambda x: 2*x, 1))

Oh wait, you explicitly asked for an "abuse", and this isn't one. Oh well, maybe useful for someone else.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Robert