#first python programme wrote by junius
# +     -     *   /     //    %    **
# and       or      not
import sys

# basic data type
myString = 'Hello World'
myInteger = 1
myBool = True
print (myString,myInteger,myBool)


#list and tuple, items in tuple isn't changable
#list's operation 
# append/count/extend/insert/sort/del/pop/remove/[:]/in/not in/+/*
# sum/max/min/enumerate/zip/sorted/reversed/len/cmp
# 
aList = [1,2]
print (aList)
print (aList[0],aList[1])

del aList[0]
aTuple = ('hello',89,False)
print (aTuple)

#dictionary : is critical important for definition
aDict = {2:'junius'}
print (aDict[2])

# if elif else:

#if expression
print ('start if')
i = 0
if i == 0:
    print (i)
elif i > 0:
    print (i)
else:
    print (i)


#while expression:
print ('start while loop')
i = 1
while i<6:
     print (i)
     i++
else:
     print (while loop is over)

#for expression:
print ('start for loop')
for i in range(1, 5):
    print i
else:
    print 'The for loop is over'

#break and continue

#define function
def max(a,b):
    if a > b
    print (a)
    else:
    print (b)
	












