NaPoWriMo x NaPoGenMo 2024 Day 20: 3rd Rhyme Scheme

NaPoWriMo x NaPoGenMo 2024 Day 20: 3rd Rhyme Scheme

Tweak the Rhyme Scheme Generator

Finicky Movements

For the 20th day of NaPoWriMo/NaPoGenMo 2024, I decided to remake the rhyme scheme generator for a shorter poem, coded in Python.

Rhyme Scheme

dcabda ddbaca dcd

Modified Code Line

Original Codebase can found:

https://blog.illestpreacha.com/napowrimorhymescheme2

 #[::-1] is a string reversal
 #[::2] reduces the string

rand_trio = ''.join(rd.sample(rand_words,len(rand_words)))[::-1] + ' '+ ''.join(rd.sample(rand_words,len(rand_words))) + ' '+ ''.join(rd.sample(rand_words,len(rand_words))[::-2])

Poem

Finicky Movements
Risen from the steps
Approaching the limits
That have been chosen
For their intents
Down to the minutes

Measuring what could be in the contents
Through the prior and future events
That has been open
Through their visits
Within the depths
That exhibits

For potential improvements
That may come next
Additional amusements