Python, implement a translator

Feb 3rd, 2012
Studypool Tutor
Price: $20 USD

Tutor description

Using Python, implement a translator. Need to create a dictionary to hold the terms to traslate or looking up. The dictionary can translate languages, slang terms, error messages, present course descriptions for classes, provide definitions for diesases, give reviews of restaurants or movies....your choice. For example (translator illustration): Welcome to the translator! 0=Quit 1=look up a term 2 =Add a term 3=Redefine a term 4=Delete a term Choice: 1 What would you like to have translated? 404 404 means clueless. Web error message 404 means page not found. Steps.... Createa dictionary, and display the dictionary inintially. Give the user instruction on what to enter Access dictionary values, using a key to reteive values Test a key with the in operator before retriving a value. Use the get() method to retrive a value 4. Understand dictionary requirements:

Word Count: 749
Showing Page: 1/2
from pip._vendor.distlib.compat import raw_inputdict = {'100': 'Continue - This means that the server has received the request headers, and that the client should ' 'proceed to send the request body (in the case of a request for which a body needs to be sent; for example, a POST request). If the request body is large, sending it to a server when a request has already been rejected based upon inappropriate headers is inefficient. To have a server check if the request could be accepted based on the request\'s headers alone, a client must send Expect: 100-continue as a header in

Review from student

Studypool Student
" Solid work, thanks. "
Ask your homework questions. Receive quality answers!

Type your question here (or upload an image)

1828 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