DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
python convert string to float array
numbers
=
[
'1'
,
'2'
,
'3.2'
]
numbers
=
list
(
map
(
float
,
numbers
)
)
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#python
#convert
#string
#float
#array
ADD COMMENT
Topic
COMMENT
Name
8+3 =
Submit