I have this code:
def rollBox(length, numDivisions, count):
Angle = 90/numDivisions
if count == 0:
elif numDivisions == 0:
rollBox(length, numDivisions, count - 1)
rollBox(length, numDivisions - 1, count)
Is there any way to still decrease the 'numDivisions' parameter to zero while still keeping its original value? I don't know if that makes sense, but I don't want the original value to change because I want the turtle to rotate at the same angle each time. I'm getting a divide by zero error.