How do I convert string to float values using str functions and string indexing/slicing?

前端 未结 0 1834
谎友^
谎友^ 2021-02-04 06:40

Title might be a little confusing but what I mean is say I have a string s=" text, 7.4,text , 7.2, text,7.6,", I want to take the numbers 7.4 7.2 7

相关标签:
回答
  • 消灭零回复
提交回复
热议问题