var minimum = 6var total = 0for i in range(4): var roll = randi_range(1,6) minimum = min(minimu, roll) total += rolltotal -= minimum
12345678