+ 1
here is an example of a string generator:
def words(string):
  for i in range(5):
    yield string + str(i)
it takes the string as parameter and then generates 5 versions of that string with numbers at the end.
so, running the following code:
for word in words("onion"):
  print(word)
would produce:
onion0Â
onion1Â
onion2Â
onion3Â
onion4