Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ python3 1.py
- Choose your mode
- H - for human and C - for computer
- C
- First player turn
- Input row
- 1
- Input column
- 1
- ---------------
- X | . | .
- ---------------
- . | . | .
- ---------------
- . | . | .
- ---------------
- PC turn
- ---------------
- X | . | .
- ---------------
- . | O | .
- ---------------
- . | . | .
- ---------------
- First player turn
- Input row
- 1
- Input column
- Traceback (most recent call last):
- File "1.py", line 168, in <module>
- turn(player,choose)
- File "1.py", line 120, in turn
- y = int(input())
- ValueError: invalid literal for int() with base 10: ''
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement