#num = 0
#for num in range(1,10) :
#    if num % 2 == 0:
#        print num
#    
#    
#print "Goodbye!"

##num = 0
##print "Hello!"
##for num in range(9,0,-1) :
##    if num % 2 == 0:
##        print num

##end = 6
##num1 = 0
##for num in range(1,end+1):
##    num1+=num
##print num1

##total = 0
##for next in range(1, end+1):
##    total += next
##print total
    
##or
##total = end
##for next in range(end):
##    total += next
##print total

##iteration = 0
##count = 0
##while iteration < 5:
##    # the variable 'letter' in the loop stands for every 
##    # character, including spaces and commas!
##    for letter in "hello, world": 
##        count += 1
##    print "Iteration " + str(iteration) + "; count is: " + str(count)
##    iteration += 1 

##for iteration in range(5):
##    count = 0
##    while True:
##        for letter in "hello, world":
##            count += 1
##        print "Iteration " + str(iteration) + "; count is: " + str(count)


##for iteration in range(5):
##    count = 0
##    while True:
##        for letter in "hello, world":
##            count += 1
##        print "Iteration " + str(iteration) + "; count is: " + str(count)
##        break



##iteration = 0
##count = 0
##while iteration < 5:
##    for letter in "hello, world":
##        count += 1
##    print "Iteration " + str(iteration) + "; count is: " + str(count)
##    iteration += 1 

##count = 0
##phrase = "hello, world"
##for iteration in range(5):
##    index = 0
##    while index < len(phrase):
##        count += 1
##        index += 1
##    print "Iteration " + str(iteration) + "; count is: " + str(count)
##

##count = 0
##phrase = "hello, world"
##for iteration in range(5):
##    while True:
##        count += len(phrase)
##        break
##    print "Iteration " + str(iteration) + "; count is: " + str(count)

##count = 0
##phrase = "hello, world"
##for iteration in range(5):
##    count += len(phrase)
##    print "Iteration " + str(iteration) + "; count is: " + str(count)
##

##x = 25
##epsilon = 0.01
##step = 0.1
##guess = 0.0
##
##while guess <= x:
##    if abs(guess**2 -x) < epsilon:
##        break
##    else:
##        guess += step
##
##if abs(guess**2 - x) >= epsilon:
##    print 'failed'
##else:
##    print 'succeeded: ' + str(guess)








































