#Looking for help for hangman game
24 messages · Page 1 of 1 (latest)
while True:
guess = input("Next guess:").upper()
if guess in guessed_letters:
print("You already tried this!")
elif guess in word:
print("You are correct")
guessed_letter += letter
def guessed_letter(word):
if letter = not_guessed
def display_word(word,guessed_letters):
display = "" * len(word)
def choose_random_battle():
I cant get display = "" * len(word) to work
Why?
im not sure
If you just put an underscore in instead of that empty string that'll work out
no it doesnt tried both variants
if I put * it kinda goes through but nothing happens
display = "_" len(word)
e.g
comes back as invalid syntax
I done it it kinda works but not in the way i want it to
Why?