Thank you very much! Yeah I’m just having problems with remembering where to put the x[y] in loops. I’ve done a few free classes and keep getting hung up on that part. It’s like my brain is having problems grasping it. I showed an example in another comment
Herrmens@lemmy.world 1 year ago
Not sure how to help you with this, since that will change with what you want to archive in the loop. But maybe writing it in pseudo code might help:
For each letter in the word
for letter, position in enumerate(word):
You want to check if your guess is the letterif letter == guess:
If it is you want to add the letter to your display , exactly on the position it is in the original worddisplay[position] = letter
Does that kind of thinking help?