Say I want to loop from 0 to 100 but with a step of 1/2. If you try
for i in range(0, 100, 0.5): whatever
You'll have to either create the loop manually, or define your own custom range function. The built-in requires an integer step value.