staircase.Stairs.le

Stairs.le(other)

Returns a boolean-valued step function indicating where self is less than, or equal to, other.

Equivalent to self <= other. See examples below.

Parameters
otherint, float, or Stairs
Returns
Stairs

new instance representing the result of self <= other

Examples

../../_images/staircase-Stairs-le-1.png