The code i have so far is for i in range(6): roll1 =int(random.randint(1,6)) print ("You rolled",roll1)
I need it to print out like "you rolled 3,4,5,6,2" But my output looks like You rolled 4 You rolled 4 You rolled 1 You rolled 1 You rolled 6 You rolled 6
Please help this is driving me insane
Aucun commentaire:
Enregistrer un commentaire