I just loved my solution for house.py

I’m so looking forward to stars on that one. I really enjoyed it and wanted to share my excitement. :smiley:

5 Likes

That is indeed an elegant solution! But I notice that the outer loop starts with a fresh empty “rhyme” every verse, so if more than one verse is requested, the inner loop repeats most of the same work every verse. Have you considered reusing the work done in the preceding verse for each new verse?