Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- numeros ={}
- for i in range(int(input())):
- n = int(input())
- if n not in numeros:
- numeros[n] = 1
- else:
- numeros[n] += 1
- for key in sorted(numeros):
- print('{} aparece {} vez(es)'.format(key, numeros[key]))
Add Comment
Please, Sign In to add comment