n = 5
total = 0
while n >= 0:
    n = n - 1
    total = total + n
#    print (n, total)


# is_prime: Nat -> Bool
# requires: n >= 2
def is_prime(n):
    test_factor = 2
    while test_factor <= n-1:
        if n % test_factor == 0:
            return False
        test_factor += 1
    return True
    

while True:
    x="Cry"
    

x = -5
total = 0
while x < 0:
	total = 2.0 ** x
	x = x-1	
	print(total)
	
	
def factorial_1(n):
    factor = 1
    while n >=1:
        factor *= n
        n -=1
    return factor

def factorial_2(n):
    factor = 1
    counter = 1
    while counter <=n:
        factor *=counter
        counter+=1 
    return factor

for food in ['avocado', 'banana', 'cabbage']:
  	print(food.upper())

for base in 'ACGGGTCG':
    if base != 'G': print(base)
    
    
for i in range(len("banana")):
    print("banana"[i])
    
for letter in "banana":
    print(letter)
    
for i in range(1,6,3):
    print(i)
print(i)