Mixed Messages - Celebrity's Last Words

Howdy, thank you for your consideration; it is much appreciated :slight_smile:

The idea behind this message generator is that by some mystic means you can find out what a celebrity’s last words will be and the date they were spoken. It is very Mad Libs-esque in that a lot of the results can seem like the ravings of a madman, but sometimes a particular quote can really tickle you.

Templates based on some famous last words are reformatted to have bracketed word types that will be replaced with corresponding random words from a word bank. A random celebrity is chosen as the quotee and a random date is inserted below. It took me some 4-5 hours to get this running smoothly, with the hardest part being stopping myself from adding to the template and word banks.

TLDR: A quote is generated using a template and a word bank. The quote is then attributed to a celebrity and a random date is given.

Code worth reading and understanding, nicely done!

to log your mixed messages, you can use the while loop
with “true” as a condition
and in the code block condition stop at the third print

1 Like

Thanks for the feedback, it means a lot!
Good call on the loop, the code has been updated!