Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from collections import Counter
- nums = input().split(' ')
- counter = Counter(nums)
- for num, count in counter.items():
- print(f"{float(num):.1f} - {count} times")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement