Función de paso

1
2
3
print(np.heaviside(-1.5,2))
print(np.heaviside(0.5,2))
print(np.heaviside(0,2))
Chihiro Haku