Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python variables

x = str(3)    # x will be '3'
y = int(3)    # y will be 3
z = float(3)  # z will be 3.0

print(type(x))
print(type(y))
print(type(Z))
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #variables
ADD COMMENT
Topic
Name
2+9 =