79582172

Date: 2025-04-19 08:35:17
Score: 1
Natty:
Report link

You can prevent the closure by saving b in a local variable with for b in [b]:

gen_factory=((pow(b,a) for b in [b] for a in it.count(1)) for b in it.count(10,10))

Attempt This Online!

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