I have a specific step size that I want to use, but it’s a decimal value, and I can’t figure out how to make it work with
Here’s the error that I am getting:
TypeError: 'float' object cannot be interpreted as an integer
Here’s the code I have so far:
When I run this, I get a
TypeError saying that
range() doesn’t accept float values. Is there a way to use decimal values for the step size in
range()? Can anyone help me figure out how to modify my code to make it work? Thanks in advance for any assistance.