Equivalent to your solution, but more concise:
iterator mystep(a, b: int): int =
for i in countup(a, b):
yield i
for i in countdown(a, b + 1):
yield i
Run
- Novice Question: Implement the Step functionality in VBA freeflow
- Novice Question: Implement the Step functionality in VBA ElegantBeef
- Novice Question: Implement the Step functionality in ... freeflow
- Novice Question: Implement the Step functionality... lscrd
