I've been searching the web for over an hour. I cannot find help on this one.
Instructions: Make a list called possible_ms that goes from -10 to 10 inclusive, in increments of 0.1.
When I create the list and try to iterate over it by increments of .1, I get: TypeError: 'float' object cannot be interpreted as an integer.
So then, I make all the integers floats, still does not work.
Finally, after over an hour, I click to show the solution. It also does not make sense.
Solution: possible_ms = [m * 0.1 for m in range(-100, 101)]
Can someone please explain this logic to me? Is it when you multiply the .1 times 91, you get 9.1? So maybe with the .1 multiplier through a range of -100 to 100, it reduces it to -10 to 10 and allows the .1 to go through it? Yes? No?