Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python data type conversion

equationStrToInt = '8 * 8'
eval(equationStrToInt)
type(equationStrToInt)
print(equationStrToInt)
strToList = 'GREPPER'
list(strToList)
type(strToList)
print(strToList)
 
PREVIOUS NEXT
Tagged: #python #data #type #conversion
ADD COMMENT
Topic
Name
3+5 =