Advertisement
Guest User

Untitled

a guest
Jun 25th, 2019
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. print("Votes counts:")
  2. print()
  3. for r in uniquelist:
  4. for w in numvotes:
  5. print("%-10s" % r,"-",w)
  6.  
  7. Vote counts:
  8. apples - 2
  9. apples - 5
  10. apples - 1
  11. apples - 2
  12. apples - 1
  13. oranges - 2
  14. oranges - 5
  15. oranges - 1
  16. oranges - 2
  17. oranges - 1
  18. pears - 2
  19. pears - 5
  20. pears - 1
  21. pears - 2
  22. pears - 1
  23. bananas - 2
  24. bananas - 5
  25. bananas - 1
  26. bananas - 2
  27. bananas - 1
  28. kiwis - 2
  29. kiwis - 5
  30. kiwis - 1
  31. kiwis - 2
  32. kiwis - 1
  33.  
  34. Vote counts:
  35. apples - 2
  36. bananas - 2
  37. kiwis - 1
  38. oranges - 5
  39. pears - 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement