'X'
'O'
1
0
10
The example session with the program may look as follows:
Implement the following features:
board[row][column]
Drawing a random integer number can be done by utilizing a Python function calledrandrange(). The example program below shows how to use it (the program prints ten random numbers from 0 to 8).
randrange()
Note: thefrom-importinstruction provides access to therandrangefunction defined within an external Python module callledrandom.
from-import
randrange
random
from random import randrange for i in range(10): print(randrange(8))
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here