def missingassignments(rawData):
    """Return a list of students and their missing assignments."""
    l = []
    for i in range(len(rawData['name'])):
        for j in rawData.columns:
            if rawData.iloc[i][j] == '-':
                l.append([rawData.iloc[i]['name'],j])
    return l