So Im making game Rock,paper,Scissors and my problem is I keep getting None value after calling variable that contains randomly chosen string from list ''tools''.
import random
tools =["Rock","Scissors","Paper"]
def computer_predicion():
computer_pred = random.choice(tools)
print(computer_predicion())
Aucun commentaire:
Enregistrer un commentaire