Question: why the test turned out to be an error? for span in new_str: f = span.split(';')[ID_INDEX] span_list.extend(list(float(f))) builtins. TypeError: 'float' object is not iterable

![in new_str: f = span.split(';')[ID_INDEX] span_list.extend(list(float(f))) builtins. TypeError: 'float' object is not](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f39c09c1c11_22566f39c097464b.jpg)
why the test turned out to be an error?
for span in new_str: f = span.split(';')[ID_INDEX] span_list.extend(list(float(f))) builtins. TypeError: 'float' object is not iterable
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
