Advertisement
Guest User

Untitled

a guest
Apr 24th, 2014
36
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. used_pairings = {}
  2.  
  3. while.....:
  4. used_pairings[guesschar] = guessletter
  5. print = ("At this point you can decide whether to delete a character-letter pairing.")
  6. used_pairings_choice = input("Type 1 to delete a pairing or ENTER to carry on: ")
  7. if used_pairings_choice == "1":
  8. print ("These are your pairings so far:")
  9. print (used_pairings)
  10. else:
  11. print ("Continuing program.")
  12.  
  13. "Codeword.py", line 79, in <module>
  14. print ("These are your pairings so far:")
  15. TypeError: 'str' object not callable
  16.  
  17. print = ("At this point you can decide whether to delete a character-letter pairing.")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement