Aug-12-2020, 06:29 PM
I'm going through the MIT Open Course Ware in my free time. Just want to begin learning, so this is not for a class or credit. Just need a nudge in the right direction, not necessarily a spelled out answer.
I'm trying to figure out how to convert a string to a float. For example:
s = "1.2, 3.4, 5.6"
I know that there is a way to do it that is probably very clever (I may not be quite as smart as I thought to take the MIT course!). Wondering if anyone else is familiar with this conundrum?
I'm trying to figure out how to convert a string to a float. For example:
s = "1.2, 3.4, 5.6"
I know that there is a way to do it that is probably very clever (I may not be quite as smart as I thought to take the MIT course!). Wondering if anyone else is familiar with this conundrum?
