def mean(list):
    '''
    Takes list of numbers and returns the mean
    '''
    if len(list)<=0:
        return "Empty list"
    
    total=0
    list_ex=[1.0,2.0]
    if type(list)!=type(list_ex)
        return "You didn't pass a LIST"
    for item in list:
        total+=item
    return total/len(list)