Reference no: EM13773486
Create a folder that identifies you and Assignment 2 such as smith_asst2 or asst2_jones. Save all Python programs to this folder. Zip the folder. No .rar files allowed. Upload the zip to the Assignment 2 drop box.
1. Alphabetic Telephone Number Translator
Many companies use telephone numbers like 555-GET-FOOD so the number is easier for their customers to remember. On a standard telephone, the alphabetic letters are mapped to numbers in the following fashion.
A, B and C = 2
D, E, and F = 3
G, H, and I = 4
J, K, and L = 5
M, N, and O= 6
P, Q, R, and S = 7
T, U, and V = 8
W, X, Y, and Z = 9
Write a program that asks the user to enter a 10-character telephone number in the format xxx-xxx-xxxx. The application should display the telephone number with any alphabetic characters that appeared in the original translated to their numeric equivalent. For example, if the user enter 555-GET-FOOD the application should display 555-438-3663
1. Word separator
Write a program that accepts as input a sentence in which all of the words are run together but the first character of each word is uppercase. Convert the sentence to a string in which the words are separated by space and only the first word starts with an uppercase letter. For example the string " StopAndSmellTherRoses." Would be converted to "Stop and smell the roses."
2. Pig Latin
Write a program that accepts a sentence as input and converts each word to "Pig Latin." In one version, to convert a word to Pig Latin you remove the first letter and place that letter at the end of the word. Then you append the string "ay" to the word. Here is an example
What volume will the n2o2 occupy
: Does the container containing 0.72 moles of helium follow EPA regulations - explain by determining the volume that 0.72 moles of helium gas would occupy if not pressurized.
|
Discussing the impact alcohol
: Write a 1,700- to 1,950-word paper discussing the impact alcohol and family violence can have on the life cycle.
|
Is mike obligated to pay for the guitar
: When John e-mailed Mike and asked when he would pay for and pick up the guitar, Mike told John that he did not want the guitar and besides, Mike had not signed or agreed to anything. Is Mike obligated to pay for the guitar
|
Intermediate microeconomics
: Intermediate Microeconomics - ONLY 2 QUESTIONS IN ONE HOUR1.Suppose the demand and supply for milk in the European Union (EU) is given byp = 126 - 0.4Qd and p = 6 + 0.1Qs,
|
Write a program that accepts as input a sentence
: Write a program that accepts as input a sentence in which all of the words are run together but the first character of each word is uppercase. Convert the sentence to a string in which the words are separated by space and only the first word start..
|
Typical it implementation process
: During the fourth week of your internship, the CIO e-mails you several examples of other IT project implementations. Later that day, she says to you, "Review the examples I sent you about the implementation process.
|
What is biggest difference you can make in world with degree
: What is the biggest difference you can make in the world with your degree. hat would you do with it and why. Please write 200-250 words about this.
|
Discuss the elements of liquidated damages
: Discuss the elements of liquidated damages. Analyze what distinguishes liquidated damages from punitive damages and discuss whether or not the penalty be assessed in the above case
|
Effective leadership and management in nursing
: Write and a 350- to 700-word paper by answering the following questions:
|