def rivers_with_station(stations):
    """for Task1D, to return a set of river names for given stations (no dublicates)"""
    list_1d=[]
    for i in range(len(stations)):
        if stations[i].river not in list_1d:
            list_1d.append(stations[i].river)
        else:
            pass       
    return list_1d