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 19:30
When using the ohmmeter function of a digital multimeter, the leads are placed in what position relative to the component being tested? a. parallel b. control c. series d. line
Answers: 3
question
Engineering, 04.07.2019 18:10
Different types of steels contain different elements that alter the characteristics of the steel. for each of the following elements, explain what the element does when alloyed with steel.
Answers: 2
question
Engineering, 04.07.2019 18:10
Draw the engineering stress-strain curve for (a) bcc; (b) fcc metals and mark important points.
Answers: 1
question
Engineering, 04.07.2019 19:20
Determine the time of the day and month of the year at which the peak sensible cooling load occurs for a top floor, north-eastern corner room of an office building in durban for the following conditions: floor area: 8 x 8 x 3 m east and north walls: 115 mm face brick (outside), 20 mm air space, 115 mm ordinary brick (inside) with 15 mm plaster roof construction: suspended plasterboard ceiling, 450 mm air space, 150 mm concrete, 75mm screed, waterproofing no heat transfer across other surfaces window area 3x 1,5 m high in north wall only. ordinary glass with venetian blinds. lights and occupants : from 07: 00 to 18: 00 average light density: 25 w/m2 number of occupants : 5 seated, light office work room temperature 24Β°c
Answers: 3
You know the right answer?
1. write a function hideshow that accepts two string arguments, an input string and a masking string...
Questions
question
History, 15.09.2021 05:00
question
Mathematics, 15.09.2021 05:00
question
Mathematics, 15.09.2021 05:10
question
Mathematics, 15.09.2021 05:10
Questions on the website: 13722362