title1


In [1]:
print 'hello'


hello

In [2]:
a=1

In [3]:
print a


1

In [4]:
a+2


Out[4]:
3

In [6]:
a="bla"
print a

In [9]:
a=1
b=2
c="hello"

In [10]:
print a,b,c


1 2 hello

In [11]:
for i in range (0,10,1):
    if i==3:
        print 'i have 3'
    elif i >3:
        print "I have many"
    else:
        print "I have few"


I have few
I have few
I have few
i have 3
I have many
I have many
I have many
I have many
I have many
I have many

In [ ]:
alist=[1,2,3]

In [13]:
atuple=("yes","no","maybe")

In [14]:
atuple[0]


Out[14]:
'yes'

In [ ]: