I need help with Python in order to finish a code

Nov 4th, 2015
Steve1995
Category:
Programming
Price: $15 USD

Question description

Dear,

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? 

Objectives

  • 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.

Overview

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).

Instructions

  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!)

Submit

  • Your final Python program .py file

Here is the PY file :

http://www.filedropper.com/shortstory1

Tutor Answer

(Top Tutor) Daniel C.
(997)
School: Cornell University
PREMIUM TUTOR

Studypool has helped 1,244,100 students

8 Reviews


Summary
Quality
Communication
On Time
Value
pmallory
Dec 3rd, 2016
" Totally impressed with results!! :-) "
mixedballz
Nov 24th, 2016
" excellent work as always thanks for the help "
Five Star Tutor
Nov 22nd, 2016
" Outstanding Job!!!! "
kiln82
Nov 10th, 2016
" awesome work thanks "
darnay
Nov 1st, 2016
" The best tutor out there!!!! "
likeplum4
Oct 28th, 2016
" Excellent work as usual "
kpcutie
Oct 5th, 2016
" Excellent job "
Joemoe
Sep 26th, 2016
" <3 it, thanks for saving me time. "
Ask your homework questions. Receive quality answers!

Type your question here (or upload an image)

1820 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