How do I make my first python project better? It's a game. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How do I make my first python project better? It's a game.

Hi coders. Been making progress here, I decided to build a pretty simple word guessing game with the knowledge I have acquired but I'm a little bit confused here and it's slowing my first project. So I need help with the following: 1. The guess is an input but how do I make the word not case sensitive such that, word == Word == WORD == WoRd. 2. How do I toggle the word after each correct guess? How do I add a dictionary of words to the game? 3. I'm making the 'number of guess == 5'. How do I hint the players on their 3rd guess? Am working in this already but your suggestions would help a lot. Thanks. https://code.sololearn.com/cIR9sVqQ36Mj/?ref=app

11th Mar 2019, 8:29 AM
Samuel Loch
Samuel Loch - avatar
1 Answer
+ 1
For question one, I feel you can just turn the user input to lower case, think that should solve it
11th Mar 2019, 9:18 AM
Joseph Ojo
Joseph Ojo - avatar