نمونه کد
#sample script
##x = 7 # Create a variable x and assign a value 7 to it
##x = x*x #Bind x to a value 49
##print x
##n = raw_input('Enter a number: ')
##print n
##x = int(n)
##print x**2
##Branch command
##n = raw_input('Enter a number: ')
##x = int(n)
##if (x/2)*2 == x:
## print x,'is Even'
##else:
## print x,'is Odd'
##print 'Nothing'
####Here I dont need else clause
##z = 'b'
##if 'x'
## print 'There'
##if 'x'
##print 'There'
##x = 4
##y = 0.7
##z = 0.5
##print x,y,z
####Is this right?
####if x < y:
#### if x < z: print x, 'is the least'
#### else:print z, 'is the least'
####else: print y, 'is the least'
##
##if x
########################################
##n = raw_input('Enter a number:')
##x = int(n);
##y = 0
##itersLeft = x
##while(itersLeft>0):
## y = y+x
## itersLeft = itersLeft - 1
##
##print y
###########################################
n = raw_input('Enter a numnber:')
x = int(n)
i = 1
while (i
print 'divisor',i
i = i + 1
##x = 10
##for i in range(1,x):
## if x%i == 0:
## print 'divisor',i