Dec-22-2019, 11:43 AM
I get very different messages.
Error: File "./forum11.py", line 9
for i,j,k in wins_list:
^
IndentationError: unexpected indent
When I corrected this I get:Error:Traceback (most recent call last):
File "./forum11.py", line 10, in <module>
if i in player1_pieces and j in player1_pieces and k in player1_pieces:
NameError: name 'player1_pieces' is not defined
When I corrected that I get:Output:no winner
no winner
no winner
no winner
no winner
no winner
no winner
x wins
The message you get assumes you have defined a function. I see no function definition in your code.