# sample code for use in Lecture 2, Fall 2008
x = 3
x=x*x
n = input('Enter a number:')
print (n)
x = 15
if (x/2)*2 == x:
print ('even')
else: print ('odd')
z = 'b'
if 'x'<z:
print ('Hello')
print ('Mon')
x = 15
y = 13
z = 11
print (x,y,z)
if x < y:
if x<z: print ('x is least')
else: print ('z is least')
else: print ('y is least')
if x<y and x<z: print ('x is least')
elif y<z: print ('y is least')
else: print ('z is least')
y = 0
x = 3
itersLeft = x
while(itersLeft>0):
y = y + x
itersLeft = itersLeft - 1
print ('y =', y,'itersLeft',itersLeft)
print (y)
x = 10
i = 1
while(i<x):
if x%i == 0:
print ('divisor', i)
i = i+1
x = 10
for i in range(1,x):
if x%i == 0:
print ('divisor', i)
07-29
07-29
07-29