I was making a pretty simple game of rolling dice simulator, but the while block isn't running, don't know why!

```
if data == 'roll the dice':
    print("You've got", str(rn) + "!")

    while repeat == False:
        rn2 = random.randint(1,6)
        data2 = input('Do you want to roll again? (Y/N): ').lower()

        if data2 == 'y':
            print("You've got", rn2, "this time!")
            repeat=True
        if data2 == 'n':
            print('Thanks for playing!')
            repeat=False

```