Answer:
This is python, I don't know what type of programming language you are learning.
import random
# Enter your code here
dice1 = random.randint(1,6)
dice2 = random.randint(1,6)
total = 0
while True:
if dice1 == 1 and dice2 == 1:
total += 1
print("Rolled: " + str(dice1) + " " + str(dice2))
break
else:
total += 1
print("Rolled: " + str(dice1) + " " + str(dice2))
dice1 = random.randint(1,6)
dice2 = random.randint(1,6)
print("It took you "+ str(total) + " rolls to get snake eyes.")
Explanation: