Exercise 1 - Mad Libs Generator
So we already had a few tutorials by @Miguel_Sensacion but for me working through some examples individual examples was not enough. I've tried to use all knowledge from few episodes and put something together but didn't want to spam individual episodes with non relevant code. I've searched web for various examples of things i could do with python and here is what I've found and successfully completed the assignment. This thread could be more mesy than regular Episode threads and community will be able to help you if you're having problem with completing your assignment
The Goal:
The program will first prompt the user for a series of inputs a la Mad Libs. For example, a singular noun, an adjective, etc. Then, once all the information has been inputted, the program will take that data and place them into a premade story template. You’ll need prompts for user input, and to then print out the full story at the end with the input included.
Concepts to keep in mind:
- Strings
- Variables
- Concatenation
A pretty fun beginning project that gets you thinking about how to manipulate user inputted data. This project focuses far more on strings and concatenating. Have some fun coming up with some wacky stories for this!
[Update]
Tutorials that will be usefull for this exercise will be:
Introduction
and
Strings
If you want to make your program more advanced you can also go to:
Lists
and
Dictionaries
Also to find all tutorials just search for #noobsofpython tag