>
> P=input("X/O:")
> if P=="X":
>     my_func1()
> else:
>     my_func2()
>
>
>
> why cant function to print X or O win...
>

As a beginner I'd try to code using Python idioms rather than writing
Python using BASIC idioms.
Try to understand how this code works:
https://codereview.stackexchange.com/questions/108738/python-tic-tac-toe-game
Note that one of the answers on that page has improved the original
poster's code.
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to