-
Notifications
You must be signed in to change notification settings - Fork 67
Open
Description
Hi out there,had an issue with line 11.Can anyone tell me why it shows TabError bcz everything seems to be right?
Thank you
secret_word = "Lion"
guess = ""
guess_count = 0
guess_limit = 3
out_of_guesses = False
while guess !=secret_word and not(out_of_guesses):
if guess_count < guess_limit:
guess = input("Enter guess: ")
11. guess_count += 1--------------------- File "Building a Guessing Game.py", line 11
^
**TabError:** inconsistent use of tabs and spaces in indentation
***Repl Closed***
else:
out_of_guesses = True
if out_of_guesses:
print("Out_of_guesses, YOU LOSE!")
else:
print("You win!")
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels