import random dice1 = random.randint( 1, 6 ) dice2 = random.randint( 1, 6 ) dice = dice1 + dice2 print(dice)