Guest User

Untitled

a guest
Feb 19th, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. import collections
  2. data = ["Building Repairs & Maintenance","Books-CDs-Audio-Video","Stationery","Other Services","Building Repairs & Maintenance"]
  3. duplicate_count = collections.Counter(data)
  4. for key in duplicate_count:
  5. print [key]*count[key]
Add Comment
Please, Sign In to add comment