TIC TAE TOE's problem(i am beginner)

Jason Friedman jsf80238 at gmail.com
Sat Apr 15 11:54:40 EDT 2017

> 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:
Note that one of the answers on that page has improved the original
poster's code.

More information about the Python-list mailing list