subject
Engineering, 15.02.2020 02:19 naturallyjada33

Ex: If the input is 8005551212, the output is: 800-555-1212 Hint: Use % to get the desired rightmost digits. Ex: The rightmost 2 digits of 572 is gotten by 572 % 100, which is 72. Hint: Use // to shift right by the desired amount. Ex: Shifting 572 right by 2 digits is done by 572 // 100, which yields 5. (Recall integer division discards the fraction). For simplicity, assume any part starts with a non-zero digit. So for example: 999-011-9999 is not allowed. Do not type your input into the optional input box below, rather, input in response to the prompts in the output window (prompts are given to you in the program template). LAB ACTIVITY 22.10.1: LAB 6 B FALL 19: Phone number breakdown 0/30 ] main. py Load default template... 1 print("Following program reads 10 digits as a phone number and generates a formatted output.") 2 print("For example if the user enters: 8002345678, then the output will be: ", end=" ") 3 print("800-234-5678") 4 print 5 phone number = int(input("Please enter 10 digits:")) 7" Type your code here."

ansver
Answers: 1

Another question on Engineering

question
Engineering, 04.07.2019 18:10
Adouble-strand no. 60 roller chain is used to transmit power between a 13-tooth driving sprocket rotating at 300 rev/min and a 52-tooth driven sprocket. a) what is the allowable horsepower of this drive? b) estimate the center-to-center distance if the chain length is 82 pitches. c) estimate the torque and bending force on the driving shaft by the chain if the actual horsepower transmitted is 30 percent less than the corrected (allowable) power.
Answers: 3
question
Engineering, 04.07.2019 18:10
Water at 55c flows across a flat plate whose surface temperature is held constant at 95c. if the temperature gradient at the plate's surface for a given value of x is 18 c/mm, find a) local heat transfer coefficient. b) heat flux
Answers: 3
question
Engineering, 04.07.2019 18:10
An ideal otto cycle with air as the working fluid has a compression ratio of 8. the minimum and maximum temperatures in the cycle are 300 k and 1340 k. use constant specific heats at room temperature to determine (a) the amount of heat transferred to the air during the heat- addition kj/kg, (b) the thermal efficiency, and (c) the thermal efficiency of a carnot cycle ope limits. process, in rating between the same temperature
Answers: 2
question
Engineering, 04.07.2019 18:10
Awall of 0.5m thickness is to be constructed from a material which has average thermal conductivity of 1.4 w/mk. the wall is to be insulated with a material having an average thermal conductivity of 0.35 w/mk so that heat loss per square meter shall not exceed 1450 w. assume inner wall surface temperature of 1200°c and outer surface temperature of the insulation to be 15°c. calculate the thickness of insulation required.
Answers: 3
You know the right answer?
Ex: If the input is 8005551212, the output is: 800-555-1212 Hint: Use % to get the desired rightmost...
Questions
question
Mathematics, 07.09.2020 19:01
question
Mathematics, 07.09.2020 20:01
question
History, 07.09.2020 20:01
question
Social Studies, 07.09.2020 20:01
Questions on the website: 13722359