Converting Empty List To Zero

I don’t know why all the normal ways don’t seem to be working but you can always use Python.

list = IN[0]
replace = IN[1]
out = []

for l in list:
	if l == []:
		out.append(replace)
	else:
		out.append(l)
#Assign your output to the OUT variable.
OUT = out