
Write a Python program that simulates rolling two dice until you get “snake eyes” (when both dice show a value of 1). Each round, roll two dice using the randint function from the random module and print the values of both dice. If the values of both dice are 1, print how many rolls it took to get snake eyes and exit the loop. Format your output to match the following sample:
Rolled: 6 5
Rolled: 3 2
Rolled: 5 6
Rolled: 6 2
Rolled: 1 4
Rolled: 1 1
It took you 6 rolls to get snake eyes.