subject
Engineering, 22.11.2019 03:31 krystalsozaa

Write a function called mock. mock should take one #parameter, a string. you may assume that the string will #have only lowercase letters and spaces. # #your function should return the same string, but any letter #at an even index should be converted to uppercase. # #for example: mock("abcd efgh ijkl") would return #"abcd efgh ijkl". # #remember, you can use the ordinal function ord() to get the #number associated with a single letter. for example, #ord("a") returns 97. the number associated with lowercase #letters is always 32 larger than the number associated with #the equivalent uppercase letter. ord("a") is 97, and #ord("a") is 65. ord("z") is 122, and ord("z") is 90.

ansver
Answers: 3

Another question on Engineering

question
Engineering, 04.07.2019 18:10
At 12 noon, the count in a bacteria culture was 400; at 4: 00 pm the count was 1200 let p(t) denote the bacteria cou population growth law. find: (a) an expression for the bacteria count at any time t (b) the bacteria count at 10 am. (c) the time required for the bacteria count to reach 1800.
Answers: 1
question
Engineering, 04.07.2019 18:10
The higher the astm grain size number, the finer the gran is. a)-true b)-false
Answers: 2
question
Engineering, 04.07.2019 18:20
A2-m rigid tank initially contains saturated water vapor at 100 kpa. the tank is connected to a supply line through a valve. steam is flowing in the supply line at 600 kpa and 300 c. the valve is opened, and steam is allowed to enter the tank until the pressure in the tank reaches the line pressure, at which point the valve is closed. a thermometer placed in the tank indicates that the temperature at the final state is 200°c. determine (a) the mass of steam that has entered the tank (b) the amount of heat transfer.
Answers: 3
question
Engineering, 04.07.2019 19:20
Acircular pipe of 30mm outside diameter is placed in an airstream at 30 c and latm pressure. the air moves in cross flow over the pipe at 20 m/s, while the outer surface of the pipe is maintained at 110 c. what is the drag force exerted on the pipe per unit length? what is the rate of heat transfer from the pipe per unit length?
Answers: 1
You know the right answer?
Write a function called mock. mock should take one #parameter, a string. you may assume that the str...
Questions
question
Mathematics, 16.04.2020 22:33
question
Spanish, 16.04.2020 22:33
question
English, 16.04.2020 22:33
question
Mathematics, 16.04.2020 22:33
Questions on the website: 13722363