def create_dict_playlists_playlistids(p_list, pid_list):
    """ Create a dictionary of playlists and playlist ids """

    playlists_and_playlist_ids = {}

    for i in range(len(p_list)):
        playlists_and_playlist_ids[p_list[i]] = pid_list[i]
    return playlists_and_playlist_ids