More Poetry? Oh Noetry

Here it is again. Poetry time. Once again, I used  Microsoft Azure Notebooks, which gave me access to the web application, Jupyter Notebooks, to code in Python a poem that rhymes. The template I used was Romeo`s speech to Juliet when he meets her for the first time. 

Original:
If I profane with my unworthiest hand
This holy shrine, the gentle fine is this:
My lips, two blushing pilgrims, ready stand
To smooth that rough touch with a tender kiss.

Template:
If _ profane with unworthiest hand
This holy shrine, the gentle fine is this:
_ lips, two blushing pilgrims, ready stand
To smooth that rough touch with a tender kiss.

I am having problems printing, but the code will replace a random Greek character from the Github greek_myths_master list where there is a space. You can see my code in my Github account. Learning this was little difficult because it involved new functions in Python in order to get the poem to rhyme. You had to think in binary terms in order to translate what you wanted for an output. 

Leave a Reply

Your email address will not be published. Required fields are marked *