import random min = 1 max = 6 roll = "yes" while roll == "yes" or roll == "y": print "Rolling the dice..." print "The values are...." print random.randint(min, max) print random.randint(min, max) roll = raw_input("Roll the dice again?")
import random min = 1 max = 6 roll = "yes" while roll == "yes" or roll == "y": print "Rolling the dice..." print "The values are...." print random.randint(min, max) print random.randint(min, max) roll = raw_input("Roll the dice again?")