letter in the for loop will go through each of the letters in the string
random_word = "random word"
for letter in random_word:
# print(letter)
if letter == guessed_letter:
print("Correct")
else:
print("Wrong")
Have any questions or comments? Write them below!