3 ms·
> I can't think of many more elegant ways to convert a list of ints to floats, in any language, than `[float(i) for i in integerlist]`. What about `float(integ
by enriquto 4y ago
> I can't think of many more elegant ways to convert a list of ints to floats, in any language, than `[float(i) for i in integerlist]`.
What about `float(integerlist)`
- nawgz 4y agoI don't think writing a function called `float` that apparently accepts arrays as an argument is very elegant at all