0

How to make a tic tac toe gamein python

Please let me know https://code.sololearn.com/cZPGh2xe9LZg/?ref=app

22nd Dec 2020, 6:00 AM
Dedipyaman Bhattacharjee
Dedipyaman Bhattacharjee - avatar
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 .
22nd Dec 2020, 6:04 AM
Alphin K Sajan
Alphin K Sajan - avatar
+ 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
22nd Dec 2020, 6:10 AM
Shadoff
Shadoff - avatar