5 lines
86 B
Python
5 lines
86 B
Python
import numpy as np
|
|
|
|
|
|
atr10 = 11.1
|
|
print(np.interp(atr10, [1, 10,11,12], [0, 1,100,1])) |