diff --git a/Diceroll.py b/Diceroll.py index 5dfcec8..435ef73 100644 --- a/Diceroll.py +++ b/Diceroll.py @@ -15,10 +15,8 @@ print ("You rolled...") count = 0 #while loop repeats roll for how many dice are set - while True: + while count < DICE: print (random.randint(MIN, MAX)) count += 1 - if count >= DICE: - break #ask user if they want to roll again ROLLAGAIN = input("Roll again?").lower()