I want to loop from 0 radians through 6.2 radians in increment of 0.1 radian

something like this in C

for(r=0.0; r<6.4;r=r+0.1)

this is the best I can do in Python:

```
for i in range(63):
z = float(i)/10
print z
```

Is there a better way?

This topic has been dead for over six months. Start a new discussion instead.

Recommended Topics