I'm a newbie and I'm doing the classic Tic Tac Toe exercise on Python, I wanted to use more than one variable in an if, like this:
if boarda[1],boarda[2],boarda[3]='X':
   print ('player X wins)
The output is Syntax error, is it possible to do this? and if it is how can I write it? Big thanks
I want to check against and and or, so the duplicate is invalid.
 
    