Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Please help me on this, please. Thank you very much Python I want you to create

ID: 3746912 • Letter: P

Question

Please help me on this, please. Thank you very much

Python

I want you to create a Mad Libs game using the information from the lesson. There are a few requirements. The story must be printed out to the console. You must ask for a minimum of six (6) pieces of information. You must request at least three numbers and perform some math on them. One of the math operations must come from the Math class. Keep it safe for work. I'm going to have you post your work to the discussion forum and you'll have to play the games your classmates create so keep it professional or you won't get a passing grade. You can have multiple rounds. So for instance you can request some info and then print out part of the story and then request more... Submit both an HTML and JS file. I will start the program by opening the HTML file. After you are done, submit your work to the Canvas discussion board for this lesson. Some general coding guidelines Throughout this class, prefer single vs double quotes around strings unless you have a good reason such as having single quotes in the string. Use camelCase style variable names rather than snake_case or kebob-case. Put a line break after every command. Comments are helpful. Don't be afraid to use them.

Good example:

myName = 'Bob';

// Capture the first letter of the name.

firstInitial = myName[0];

Bad example:

my_name = "Bob"; first_initial = myName[0];

Rubric

Mad Libs Rubric

Explanation / Answer

Here is the code for the given question.

Please comment below for any queries regarding the answer or any further changes to this code.

Thank you.

FirstName = raw_input("Tell me your name, and click enter. ")
print " "
print "Thanks! Your name is: " + FirstName

raw_input("Press the enter key to continue...")
print " "
print "Let's begin with your MadLib! It will be based on the song Eleanor Rigby by the Beatles"
print " "
adj = raw_input("Tell me an adjective and press enter.")
noun_1 = raw_input("Enter me a plural noun. Then, press enter.")
name_1 = raw_input("Enter me a feminine first name and press enter.")
name_2 = raw_input("Now, tell me a last name and hit enter.")
noun_2 = raw_input("Enter me a singular noun and press enter.")
place = raw_input("Tell me a place that isn't geographic and press enter.")
events = raw_input("Now, an events. Press enter again.")
verb_1 = raw_input("Enter me a verb and press enter.")
noun_3 = raw_input("Enter me another noun! Press enter.")
verb_2 = raw_input("Enter me a verb in the present tense and press enter.")
noun_4 = raw_input("Time for another noun! Press enter.")
noun_5 = raw_input("And another noun... Press enter.")
noun_6 = raw_input("Enter me another noun. And press enter again.")
noun_7 = raw_input("Okay, last noun. Press enter.")
verb_3 = raw_input("Enter me a verb, now. This is the last one! Press enter.")

print " "

raw_input("Hit enter to generate your MadLib!")
print " "
print "Ah, look at all the" + " " + adj + " " + noun_1
print "Ah, look at all the" + " " + adj + " " + noun_1
print " "
print name_1 + " " + name_2 + " " + "picks up the" + " " + noun_2 + " " + "in a" + " " + place + " " + "where a" + " " + events + " " + "has been"
print verb_1 + " " + "in a" + " " + noun_3
print " "
print verb_2 + " " + "at the" + " " + noun_4 + " " + "wearing the " + noun_5 + " " "that she keeps in a " + noun_6 + " " + "by the " + noun_7 + " "
print "Who is it for?"
print " "
print "All the " + adj + " " + noun_1 + " " + "where do they come from?"
print "All the " + adj + " " + noun_1 + " " + verb_3 + "?"