human
Most efficient way to convert items of a list to int and sum them up
assistant
Here is some code to sum integers contained in strings in list `['', '3.4', '', '', '1.0']`

sum(int(float(item)) for item in [_f for _f in ['', '3.4', '', '', '1.0'] if _f])

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.