Python Poetry

Because chapter 9 of Invent Your Own Computer Games with Python is rather long, I thought we’d break in the middle and do a little messing with lists and string manipulation. Our word list is courtesy of randomlists.com.

Here’s a little example of the program. The kids can borrow what they see fit and come up with creative ways to change how it works.

For a challenge, make sure no word appears twice,

If you’ve stumbled on this randomly, pop it in your favorite Python 3 editor and have fun.

Leave a Reply

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

*