0

I can't run any line of code that is under my input variable.

I have checked for typos but there aren't any.

def inputs():
    global guess, count
    count = (0)
    while len(theWord) > (count):
        for i in range(len(theWord)):
            print (theWord[i])
            print (count)
    **      guess = str(input("Guess a letter A-Z:").strip())**
    **      print ("test") <---- should run**
        if guess == theWord[i]:
        graphic[i] = (guess)
        print (graphic)
        count = count + (1) 

inputs()
Barmar
  • 741,623
  • 53
  • 500
  • 612

0 Answers0