Step-by-step explanation:
There is only one number we need to change in the code, and that is 6. The 6 represents the number of sides, but this only works for a 6-sided die. If we changed the 6 to sides, this would work for any sided die, because sides would be plugged in