hotstepper.Steps.__truediv__

Steps.__truediv__(other)

The / operation to divide int, float, step and steps objects like they are numbers.

Note

right and in-place division is also available.
  • 3/steps

  • steps /=3

  • steps/3

Parameters

other (int, float, Step, Steps.) – The thing to divide 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