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


python plz explain




Extracted text: "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 367036.2214230.qx3zqy7 1 user score = 0 2 simon_pattern = input() 3 user_pattern input() 4 Your solution goes here ''" 6 7 print('User score:', user_score)

Jun 05, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here