Aug-09-2021, 11:07 PM
Minor point - when posting it makes is easier on those looking at the code that you post the whole error message as there is additional info that is useful.
In this case, looks like the error is in line 28. You call randrange(1,1,0). That means the range starts at one, ends with 1, with a step of 0. I don't know what you expect that to yield, but Python objects!
In this case, looks like the error is in line 28. You call randrange(1,1,0). That means the range starts at one, ends with 1, with a step of 0. I don't know what you expect that to yield, but Python objects!