python-workout
python-workout copied to clipboard
Can not convert string to int
https://github.com/reuven/python-workout/blob/d9ec04ca47aa92fa5d013610dd3bd0dbf8903a8f/ch01-numbers/e01b3_guess_word.py#L19
The user input is a word. We are guessing the word so we don't need to convert the user input into the integer.
Yikes, I guess I did a bit too much copying and pasting here. I'll merge your fix and make some others, too.
Sorry if I missed something but...
If we perform comparing as presented in the file we will compare words by lexicographical order of the but not by order in set.
