Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

change variable type python

x = 12
str(x) #it's a String now 

number = "24"
int(number) #it's an integer now
 
PREVIOUS NEXT
Tagged: #change #variable #type #python
ADD COMMENT
Topic
Name
5+4 =