hotstepper.Steps.__mul__

Steps.__mul__(other)

The * operation to multiply int, float, step and steps objects like they are numbers.

Note

right and in-place multiplication is also available.
  • 3*steps

  • steps *=3

  • steps*3

Parameters

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