(start, stop=None, step=1)
| 2 | |
| 3 | # replaces default range function to allow more functionality |
| 4 | def range(start, stop=None, step=1): |
| 5 | if stop==None: stop = start; start = 0 |
| 6 | x = [] |
| 7 | while start < stop: |
| 8 | x.append(Decimal(str(start))) |
| 9 | start += Decimal(str(step)) |
| 10 | return x |