print("Welcome to the random dice game.")
userans = "y"
import random
diceroll = random.randint(1,6)
print(diceroll)
print(userans)
while userans == "y":
diceroll = random.randint(1,6)
print("The random dice roll is", diceroll)
userans = input("If you want to play again, enter y")
userans = "y"
import random
diceroll = random.randint(1,6)
print(diceroll)
print(userans)
while userans == "y":
diceroll = random.randint(1,6)
print("The random dice roll is", diceroll)
userans = input("If you want to play again, enter y")