You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hi Alexandre Decan
I have been using your library and it has been really useful however, I want to know if there is a way to output an interval as an array of numbers?
for example :
print( I.closed(0, 5)) returns something like [0, 1, 2, 3, 4, 5]
The text was updated successfully, but these errors were encountered:
Yes, there is a way to output such list of numbers. The library provides an iterate method that (among other) accepts an Interval instance and an increment. It returns a generator object on which you can iterate as usual:
Yes, there is a way to output such list of numbers. The library provides an iterate method that (among other) accepts an Interval instance and an increment. It returns a generator object on which you can iterate as usual:
yeah got it ,it does that too and thank you for replying so fast, I really enjoyed the functionality of this library which is unique its own way . hope you the best
hi Alexandre Decan
I have been using your library and it has been really useful however, I want to know if there is a way to output an interval as an array of numbers?
for example :
print( I.closed(0, 5)) returns something like [0, 1, 2, 3, 4, 5]
The text was updated successfully, but these errors were encountered: