Assignment


In [ ]:
# Strings
data = 'Hello World'
print data[0]
print len(data)
print data

In [ ]:
# Numbers
value = 50.4
print value
value = 5.6
print value

In [ ]:
# Boolean
p = True
q = False
print p,q

In [ ]:
# Multiple Assignment
p,q,r = 5,6,7
print p,q,r

In [ ]:
# No value
p = None
print p

In [ ]: