hotstepper.Steps.__sub__¶
-
Steps.__sub__(other)¶ The - operation to subtract int, float, step and steps objects like they are numbers.
Note
- right and in-place subtraction is also available.
3 - steps
steps -= 3
steps - 3
- Parameters
other (int, float, Step, Steps.) – The thing to subtract from these steps, a single step or series of steps can be combined with the steps.
- Returns
A new steps object consisting of this object with additional step objects representing the other operand.
- Return type
Steps