dice rolling app in python

from random import randint

def roll_dice():
    print(f"Number is: {randint(1,6)}")

# Do this to simulate once

# Do this to simulate multiple times
whatever = 12 # Put the number of times you want to simulate here
for number in range(whatever):

Here is what the above code is Doing:
1. It defines a function called roll_dice()
2. It uses the randint() function to generate a random number between 1 and 6
3. It prints the number
4. It defines a variable called whatever and assigns it the value 12
5. It uses a for loop to simulate rolling the dice 12 times
6. It calls the roll_dice() function for each iteration of the loop