Here is my code:def winnerchecker():    def player1win():        print '\n' * 5, name, YOU HAVE WON! GG TO, xplayer        time.sleep(3)        raise SystemExit()    try:        if 1,1 in turn1l and 1,2 in turn1l and 1,3in turn1l:            player1win()        elif 1,1 in turn1l and 2,1 in turn1l and 3,1 in turn1l:            player1win()        elif 2,1 in turn1l and 2,2 in turn1l and 2,3 in turn1l:            player1win()        elif 3,1 in turn1l and 3,2 in turn1l and 3,3 in turn1l:            player1win()        elif 1,2 in turn1l and 2,2 in turn1l and 3,2 in turn1l:            player1win()        elif 1,3 in turn1l and 2,3 in turn1l and 3,3 in turn1l:            player1win()        elif 1,1 in turn1l and 2,2 in turn1l and 3,3 in turn1l:            player1win()    except NameError:        passAs you can see it is very long, is there anyway I could clean all this up into 1 if statement? Thank you
How would I put these multiple if statements into 1 if statement
python;python 2.7