Mathematics Basic Code For Python Tic Tac