subject
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.

ansver
Answers: 3

Another question on SAT

question
SAT, 22.06.2019 09:30
Aresearch institute poll asked respondents if they felt vulnerable to identity theft. in the poll, n=1085 and x=528 who said “yes”. use 90% confidence level
Answers: 1
question
SAT, 24.06.2019 16:30
Factor out the greatest common factor. minus − 14 14p3 plus + 10 10p2 plus + 4 4p
Answers: 1
question
SAT, 25.06.2019 08:20
True or falsethe right to privacy is clearly written out in the constitution
Answers: 1
question
SAT, 26.06.2019 00:00
17 a tourist was planning a trip by car for travelling at some constant speed for 2.5 hours. however, he found that if he increases the speed by 20 km/h he can cover the same distance in 30 minutes less time than it was planned. what was the planned speed of the tourist, in km/h?
Answers: 1
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...
Questions
question
Biology, 14.07.2021 01:00
question
Mathematics, 14.07.2021 01:00