roll dice stats python code example Example: roll dice python import random diceRoll = random.randint(1, 6) print(diceRoll)