Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- data = input().split('|')
- day = input()
- counter = 0
- for cur in data:
- temp = cur.split(',')
- if temp[1] == day:
- counter += 1
- print(counter)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement