I want to have labels with "_" equal to the amount of letters in a randomly generated word, but only the last underscore shows. Am I doing something wrong? Can someone help please?
def play ():
word = random.choice (list1)
print (word)
list2 = list (word)
print (list2)
x_position = 10
for i in list2:
lbl = Label (root, text = '_')
lbl.place (y = 10, x = x_position)
x_position = x_position + 5