need some help with my home work 2

This assignment asks you to practice with “regular expressions” (import re) to create a Mad Libs program. A madlib is a story that has blank words. The player is asked to give a list of words that will be inserted into the story. But the player doesn’t know how the words will be used; he/she is only asked to give a noun, an adjective, etc. without knowing what the story is first. Then, the player is shown the complete story, and it can be funny at times.

Your program should ask the user for a filename that contains a story with missing words (“tags”). These missing words will have this format: {noun1} or similar (adjective, plural_noun, whatever), always in braches ({}). The program uses a regular expression to find each {} tag and asks the user for the value for that tag. Then the program replaces every occurrence of that tag (there could be more than one occurrence of the same tag) with the word the user typed. Then the program asks for the word for the next tag, until there are none left. Finally, the program prints the story that the user created.

Do you need a similar assignment done for you from scratch? We have qualified writers to help you. We assure you an A+ quality paper that is free from plagiarism. Order now for an Amazing Discount!
Use Discount Code "Newclient" for a 15% Discount!

NB: We do not resell papers. Upon ordering, we do an original paper exclusively for you.