我想找到使用Python 3出现在字符串中的第一个浮点数.
我查看了其他类似的问题,但我无法理解它们,当我尝试实施它们时,它们不适合我的情况.
一个示例字符串
I would like 1.5 cookies please
python floating-point python-3.x
floating-point ×1
python ×1
python-3.x ×1