I'm pretty new to python. I wrote this to emulate rolling dice;
dsides = int(input("how many sides do your dice have?"))
print("Your dice has " + str(dsides) +" sides")
dint = int(input("How many dice do you want to roll?"))
print("You are rolling " + str(dint) + " dice")
import random
y=0
while( y < dint ):
out = random.randint(1, int(dsides))
print(str(out))
y+1
the problem is the while loop doesn't stop looping on integer 'dint' quantity....
yafter increasing. change it toy=y+1