Your goal for this lab is to use lists and the random library to generate
a random madlib. Make sure to read the documentation of the random library
before you start. And dont worry, we will talk about libraries later
For this lab you will store lists of nouns, adjectives, adverbs
and whatever else you need. You should ask the user for these
and then put them in your list. Then when filling out the madlib
one gets randomly selected.
Download the following file and then follow the instructions: MadLibList
- First add all nouns, adjectives, and plural nouns to a list
for example nouns = [noun1, noun2, noun3]
-
Then use string concatentation to put it in the pring statements
for example: "A vacation is when you take a trip to some " + adjective[0] + " play with your " + adjective[1] + " family.""
-
Let me know when you finish and I will help you make it rdom!