def noEmpty(x):
return x != ""
str = '0.4350 0.8798 0.0099 1';
print (list(filter(noEmpty, str.split(' '))));
ZGVmIG5vRW1wdHkoeCk6CglyZXR1cm4geCAhPSAiIgpzdHIgPSAnMC40MzUwICAgIDAuODc5OCAgICAwLjAwOTkgICAgICAgICAxJzsKcHJpbnQgKGxpc3QoZmlsdGVyKG5vRW1wdHksIHN0ci5zcGxpdCgnICcpKSkpOwo=