subject
Engineering, 21.01.2020 19:31 maymuu4life

1. write a function hideshow that accepts two string arguments, an input string and a masking string. the masking string is a string consisting of β€˜0’s and β€˜1’s that has the same length as the input string. the function then returns a new string that is the same as the input string, except that it is masked. that is, in any position where the masking string contains a β€˜0’ the input character is replaced by a β€˜#’, whereas if the masking string contains a β€˜1’, the character is unchanged. see the following sample output

ansver
Answers: 1

Another question on Engineering

question
Engineering, 03.07.2019 14:10
Amass of 1.5 kg of air at 120 kpa and 24Β°c is contained in a gas-tight, frictionless piston-cylinder device. the air is now compressed to a final pressure of 720 kpa. during the process, heat is transferred from the air such that the temperature inside the cylinder remains constant. calculate the boundary work input during this process.
Answers: 2
question
Engineering, 04.07.2019 18:10
Aplate clutch has a single pair of mating friction surfaces 250-mm od by 175-mm id. the mean value of the coefficient of friction is 0.30, and the actuating force is 4 kn. a) find the maximum pressure and the torque capacity using the uniform-wear model. b) find the maximum pressure and the torque capacity using the uniform-pressure model.
Answers: 3
question
Engineering, 04.07.2019 18:10
Determine whether or not it is possible to compress air adiabatically from k to 140 kpa and 400 k. what is the entropy change during this process?
Answers: 3
question
Engineering, 04.07.2019 19:20
A21-tooth spur pinion mates with a 28-tooth gear. the diametral pitch is 3 teeth/in and the pressure angle is 20Β°, find the following values: the addendum, dedendum, circular pitch, tooth thickness, and base circle diameters.
Answers: 2
You know the right answer?
1. write a function hideshow that accepts two string arguments, an input string and a masking string...
Questions
question
Mathematics, 27.08.2020 16:01
question
English, 27.08.2020 16:01
question
Mathematics, 27.08.2020 16:01
Questions on the website: 13722363