79582599

Date: 2025-04-19 16:32:08
Score: 1.5
Natty:
Report link

Another infinite iterator:

import string

def words(alphabet):
    yield from alphabet
    for word in words(alphabet):
        for letter in alphabet:
            yield word + letter

for word in words(string.ascii_lowercase):
    print(word)

Attempt This Online!

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