Why does it say unindent does not match any indentation level?

print('THE LETTER GAME ! type in a letter and let someone else try to guess what that letter is they can key the leter they guess after you put your letter in also only

letters no numbers  / 1 letter = hardest mor letters the easier')
letters=input('enter your letter of choice can be more than 1:')
for counter in range(1):
    print('NOT LETTERS !!')
  **else:**
**    break**
search=input('enter the letter you guess:')
if search in letters:
  print('You guessed correct ! ')
  print(letters)
else:
  print('you got it wrong the correct answers were :') 
  print(letters)

** the part that is wrong

I’ve edited your code for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (').

First of all, with all those “**” in your code, we can’t see what your indenting is.

Second of all, what is that first else doing?

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.