CodeNewbie Community 🌱

Fary
Fary

Posted on

Codes for dices in Backgammon(by Python)

Image description
Import random
random.seed(int(input))
Dice1= random.randint(1,6)
Dice2= random.randint(1,6)
print(Dice1)
print(Dice2)

Top comments (0)