The floatify solution is a bit involved - using map inside a list 
comprehension. Usually list comprehensions replace the usage of map. Also 
floatify requires 5 extra lines of code (putting `return` on the same line is 
not a best practice). Why not do it with one simple line of code ?

Debashish
_______________________________________________
Python-ideas mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/[email protected]/message/EBO343XKRLHEP35IXBP6QYK4YD4UM7YN/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to