Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

variable in python

#creating variable in python

a = 15 #it is called integer

b = 'apple' #any word or number written in this "" is called string

c = False #True or False is called boolean

d = 2.45 #any number with point is called float

print(a)
print(b)
print(c)
print(d)

#it will print all the values
 
PREVIOUS NEXT
Tagged: #variable #python
ADD COMMENT
Topic
Name
6+4 =