week-4 #5

Merged
Kenwood merged 12 commits from week-4 into master 2021-02-03 16:53:55 -05:00
1 changed files with 7 additions and 0 deletions
Showing only changes of commit 8ec38fd2ea - Show all commits

7
4/4.10/4.10.1/main.py Normal file
View File

@ -0,0 +1,7 @@
user_score = 0
simon_pattern = input()
user_pattern = input()
user_score = sum(a==b for a, b in zip(simon_pattern, user_pattern))
print('User score:', user_score)