text: import random
  word_list = ['hello','world','king']
  chosen_word = random.choice(word_list)
  blank_word_list = list("_" * len(chosen_word))
  
  guess = input("Guess a letter : ").lower()
  
  for x in range(0,len(chosen_word)-1):
      if chosen_word[x] == guess:
          blank_word_list[x] = guess 
  
  print(blank_word_list)
  
  