SAT
SAT, 08.02.2022 14:40, chloejaylevesque

"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 each character of the two strings. For each matching character, add one point to user_score. Upon a mismatch, end the loop. Sample output with inputs: 'rrgbryybgy' 'rrgbbrybgy' user score: 4.

answer
Answers: 3

Other questions on the subject: SAT

image
SAT, 24.06.2019 07:10, hollie52
Vera is on her school's track and field team. in a practice long-jump competition against her teammates, she gets 5 points for landing over the farther line. she gets a total of 7 jumps and lands x times over the farther line and the rest of the times over the closer line. which of the following functions represents vera's total score? a. f(x)=10x b. f(x)=5x+35 c. f(x)=10x+5 d. f(x)=70-5x
Answers: 1
image
SAT, 25.06.2019 17:00, zoebtharpe
The different forms of a gene for a given trait are called .
Answers: 1
image
SAT, 29.06.2019 16:40, 259772
On a test the graders have a mean of 77 and a standard deviation of 8. if we can approximate the distribution of these graders by a number distribution what percent of the students. a) scores higher than 77? b) should pass the test (grades > 60)? c) should fail the test (grades < 60)?
Answers: 1
image
SAT, 30.06.2019 13:00, muratm
What would you do with the money left over after all monthly expenses are paid
Answers: 2
Do you know the correct answer?
"simon says" is a memory game where "simon" outputs a sequence of 10 characters (r, g, b, y) and the...

Questions in other subjects:

Konu
Mathematics, 28.05.2021 19:20
Konu
Advanced Placement (AP), 28.05.2021 19:20