I need help with Python in order to finish a code

Nov 4th, 2015
Price: $15 USD

Question description


I have this assignment and i have finish an 80% of it with the professor during the lecture. I dont know how to make the game functioning as what the professor want. can you help me please finish it? 


  • Loading, saving, editing, and running basic Python scripts
  • Perform user input
  • Use a Python "Dictionary" object to store data
  • Display data from the Dictionary object.


This is a pretty common exercise, but useful (and extensible) nonetheless.

The goal is to create a "MadLibs" like game which asks the user to enter a series of nouns, verbs, adjectives, adverbs, plural nouns, past tense verbs, etc., and then generates a paragraph which is syntactically correct but semantically ridiculous. (I'm assuming everyone knows MadLibs ???)

(Given that MadLibs is trademarked, copyrighted, and probably patented... I'm afraid there will be little commercial market for your application).


  1. Create a new file called LAB3.py to begin to contain your program.
  2. You should prompt the user for about 10 words or phrases and store each result in a "Dictionary"
    • You should have a function dedicated to the task of acquiring the user input.
  3. Once all of the input has been entered, display the resulting "story" back to the user.
    • You should have a function dedicated to the task of displaying the output "story".
    • You can make up your own story, or just grab a short piece of text from somewhere and "edit" it into your program, deleting the words you intend on filling in with your own. (In the interest of "academic honesty", be sure to cite the source of any text you choose to grab.)
    • Hint: Use multiple print statements; don't try to cram everything into a single "print"!
  4. Make sure that your functions are well commented!
  5. Your program should run from a "command line" when executing the program LAB3.py
    • (We'll see in class how to do this.... it's easy!)


  • Your final Python program .py file

Here is the PY file :


Tutor Answer

(Top Tutor) Daniel C.
School: Cornell University

Studypool has helped 1,244,100 students

Review from our student for this Answer

Nov 9th, 2015
"Goes above and beyond expectations !"
Ask your homework questions. Receive quality answers!

Type your question here (or upload an image)

1826 tutors are online

Brown University

1271 Tutors

California Institute of Technology

2131 Tutors

Carnegie Mellon University

982 Tutors

Columbia University

1256 Tutors

Dartmouth University

2113 Tutors

Emory University

2279 Tutors

Harvard University

599 Tutors

Massachusetts Institute of Technology

2319 Tutors

New York University

1645 Tutors

Notre Dam University

1911 Tutors

Oklahoma University

2122 Tutors

Pennsylvania State University

932 Tutors

Princeton University

1211 Tutors

Stanford University

983 Tutors

University of California

1282 Tutors

Oxford University

123 Tutors

Yale University

2325 Tutors