+ 3
Whats wrong here?
# trying to get random digit at this form (x,y) import random class Dice: def roll(self): first= random.randit(1,6) second= random.randit(1,6) return first,second dice=Dice() print(dice.roll())
3 Réponses
# trying to get random digit at this form (x,y) import random class Dice: def roll(self): first= random.randit(1,6) second= random.randit(1,6) return first,second dice=Dice() print(dice.roll())