Try:
dice = [1, 3, 4, 1]
newval = ''
for i in range(len(dice)):
if dice[i] == 1:
newval = dice[1:i]
print(newval)
#dice[i] #newval #dice #try: #this
https://stackoverflow.com/questions/4...
https://stackoverflow.com/questions/4...