0
How to make a tic tac toe gamein python
Please let me know https://code.sololearn.com/cZPGh2xe9LZg/?ref=app
2 Respuestas
+ 2
Dedipyaman Bhattacharjee You can search for codes in the Codes section .
And Use the search bar feature in Sololearn before posting a new Question .
+ 1
from random import randint
p='paper'
s='scissors'
r='rock'
choices ={1:p, 2:s, 3:r}
player1 = choices[randint(1,3)]
player2 = choices[randint(1,3)]
#here write function to chech who win or draw