'''
Lyteia Kitchen
5/7/14
Quiz1
'''

def calcArea(w, h):
    #area = h times width
    area = h * w
    #this returns the area
    return area
height = 40
width = 20
area = calcArea(height, width)
    #if height is the same a width
if height == width:
        print "The area of your square is " + str(area)+ " square feet."
else:
        print "The area of your rectangle is " + str(area)+ " square feet."


area = calcArea(height,width)

#Bottles of Beer
class Beer():
    bottles = 100
    print str(bottles) + " bottles of beer on the wall, " + str(bottles) + " bottles of beer ... Take one down and pass it around. Now you have " + str(bottles - 1) + " bottles of beer on the wall!"
#bottle greater than 1
 while bottles > 1:
 #take away each time
        bottles-= 1
        print str(bottles) + " bottles of beer on the wall, " + str(bottles) + " bottles of beer ... Take one down and pass it around. Now you have " + str(bottles - 1) + " bottles of beer on the wall!"

