我在那裏我計算與條件兩個浮點值的功能,如果將下面語句返回值: # The function inputs are 2 lists of floats
def math(list1,list2):
value1=math(...)
value2=more_math(...)
z=value2-value1
if np.any(z>0):
retur
我讀到JavaScript中的雙管道檢查變量是否是虛假的,而undefined是JavaScript中的一個虛假值,例如, It means that if the value is falsey (e.g. 0, "", null, undefined (see also All falsey values in JavaScript)), it will be treated as false