I’m creating a sort of quiz game in Python and one of the questions is ‘type a word that has 5 letters in them’.
Basically, what I want is for the user to type anything that has 5 letters or characters in it, and then python checks if it has 5 letters and if it is correct, it sends them to the next question.
For your game, i assume you have some while loop that keeps things rolling.
Do this:
The line above will ask the user for the 5 letter word and their input will be stored in the variable word. Then check