Guest User

Untitled

a guest
Jan 13th, 2018
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. """
  2. ********WRONG APPROACH, NOT WORKING**************
  3. """
  4.  
  5. count = 0
  6. for x in ocurrances:
  7. if ocurrances[x] > 0 and x != "consonants":
  8. print x + ",", #this needs to be completely finished before going off to the nextline
  9. if count == 0:
  10. print "were inserted",
  11. count += 1
  12.  
  13.  
  14. for x in ocurrances:
  15. if ocurrances[x] > 0 and x != "consonants":
  16. print str(ocurrances[x]) + ",",
  17.  
  18. print "times respectively"
Add Comment
Please, Sign In to add comment