Exemplo n.º 1
0
def get_writer_avg_rating(name):
    w_name = check_in_dict(name, writer_films)
    n = w_name[0]
    avg = avg_rating(n, writer_films)
    return avg
Exemplo n.º 2
0
def get_director_avg_rating(name):
    d_name = check_in_dict(name, director_films)
    n = d_name[0]
    avg = avg_rating(n, director_films)
    return avg