Variables in Python

counter = 100          # An integer assignment
miles   = 1000.0       # A floating point
name    = "John"       # A string

print (counter)
print (miles)
print (name)

a = b = c = 1

print(a,b,c)

x, y, z = 1, 2, "john"

print(x,y,z)

del x,y,z

Output :

Leave a Comment