Python indentation is significant: it handles flow control by "grouping" lines of code together into "blocks" according to the same level of indentation. Stupid, I know - but I didn't design the thing.
So if you want the line only printed when
tries % 6 == 0
then indent it to teh same level as the rest of the block:
print("did you chose a word ?")
input()
lost = list
print("oops I will try again")
If you want to only do it when the condition fails, then you need to add an
else
statement:
Python Conditions[
^]