Answer:# Prompting the user for the first dice roll
first_die = int(input("First die? "))
# Prompting the user for the second dice roll
second_die = int(input("Second die? "))
# Checking if the two dice rolls are equal
rolled_doubles = (first_die == second_die)
# Printing out the result
print("Rolled doubles?", rolled_doubles)
Explanation: