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 (1)

Collapse
 
maicleusa profile image
maicleusa

I have read your post very carefully and I just want to say that the information that's not my neighbor you shared is really great and I have learned a lot from it.