import random
rolls = int(input("How many times do you want to roll the dice? "))
i = 0
total_count = 0
while i < rolls:
die1 = random.randint(1,6)
die2 = random.randint(1,6)
if die1 == 6 and die2 == 6:
total_count += 1
i += 1
print("The dice landed on double 6's {} time(s)".format(total_count))
I hope this helps!