Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- i = []
- a = 1
- maxCount = 0
- while (a != 0):
- a = int(input())
- i.append(a)
- for item in i:
- countNow = i.count(i[item])
- if countNow > maxCount:
- countNow, MaxCount = maxCount, countNow
- print(maxCount)
Advertisement
Add Comment
Please, Sign In to add comment