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))
 
PREVIOUS NEXT
Tagged: #python #variables
ADD COMMENT
Topic
Name
4+3 =