- 1

Write a program to design a dice throw.

plz provide the program

26th Jan 2021, 1:51 PM
Sakshi Tangar
Sakshi Tangar - avatar
1 Respuesta
- 1
Please use "SEARCH BAR" before posting Questions. And tell in which language you want. Here's an example in Python "Not By Me" : import random class Dice: def roll (self): first = random.randint(1, 6) second = random.randint(1, 6) return first, second dice = Dice() print(dice.roll()) https://code.sololearn.com/cwhIUnehjbvm/?ref=app
26th Jan 2021, 2:08 PM
Ezra Bridger 2207 [INACTIVE]
Ezra Bridger 2207 [INACTIVE] - avatar