subject
Engineering, 28.11.2019 00:31 ulilliareinhart2

Simon says is a memory game where "simon" outputs a sequence of 10 characters (r, g, b, y) and the user must repeat the sequence. create a for loop that compares the characters one-by-one in two character vectors, simon_pattern and user_pattern. one point is added to user_score for each match. the game ends upon the first mismatch. restrictions: the script must use break statement. ex: the following patterns yield a user score of 2 simon_pattern = 'rrybryybgy' user_pattern = 'rrgbbrybgy'

ansver
Answers: 2

Another question on Engineering

question
Engineering, 04.07.2019 16:10
An electrical motor raises a 50kg load at a construct velencity .calculate the power of the motor, if it takes 40sec to raise the load through a height of 24m(take g =9.8n/g)
Answers: 2
question
Engineering, 04.07.2019 18:10
Asingle-geared blanking press has a stroke of 200 mm and a rated capacity of 320 kn. a cam driven ram is assumed to be capable of delivering the full press load at constant force during the last 15 percent of a constant-velocity stroke. the camshaft has an average speed of 90 rev/min and is geared to the flywheel shaft at a 6: 1 ratio. the total work done is to include an allowance of 16 percent for friction a) estimate the maximum energy fluctuation b) find the rim weight for an effective diameter of 1.2 m and a coefficient of speed fluctuation of 0.10
Answers: 1
question
Engineering, 04.07.2019 18:10
Apipe with an outside diameter of 15 cm is exposed to an ambient air and surrounding temperature of -20Β°c. the pipe has an outer surface temperature of 65Β°c and an emissivity of 0.85. if the rate of heat loss from the pipe surface is 0.95 kw per meter of length, the external convective heat transfer coefficient (h) is: (a) 12.5 w/m"k (b) 18.6 w/mk (c) 23.7 w/mk (d) 27.9 w/mk (e) 33.5 w/mk
Answers: 1
question
Engineering, 04.07.2019 18:10
Burgers vector is generally parallel to the dislocation line. a)-true b)-false
Answers: 2
You know the right answer?
Simon says is a memory game where "simon" outputs a sequence of 10 characters (r, g, b, y) and the u...
Questions
question
English, 05.11.2020 06:40
question
Mathematics, 05.11.2020 06:40
question
Physics, 05.11.2020 06:40
question
Mathematics, 05.11.2020 06:40
Questions on the website: 13722360