# ACT 2-4 Examples of Buggy Functions

def addTwo(x,y):
    '''Takes two numbers and returns their sum.'''
    z = x + y
    return x

def subtractTwo(x,y):
    '''Takes two numbers and returns their difference'''
    z = x - y
    return t

def multiplyTwo(x,y):
    '''Takes two numbers and returns their product'''
    z = x*y
    return

def divideTwo(x,y):
    '''Takes two numbers and returns their quotient.'''
    z = x/float(y)
    return z

def addList(myList):
    '''Takes a list of numbers and returns the sum of the elements.'''
    s = 0
    for w in myList():
        s = s + w
    return s


