def whose_player_list(players_data, teams_data):
    """Returns a list of tuples; each tuple has information about a player who is on a team ranked in the top 20,
    plays less than 200 minutes and makes more than 100 passes; the format for each tuple is (player's surname,
    team played for, team ranking, minutes played, number of passes)
    """
    team = []
    for i in range(20):
        team.append(teams_data[i]["team"])
    players_data_tuple = []
    for i in range(len(players_data)):
        if (players_data[i]["team"] in team) and (int(players_data[i]["minutes"]) < 200) and (
                int(players_data[i]["passes"]) > 100):
            players_data_tuple.append(
                [players_data[i]["surname"], players_data[i]["team"], team.index(players_data[i]["team"]),
                 players_data[i]["minutes"], players_data[i]["passes"]])
    return tuple(players_data_tuple)

    # Reminder: Convert minutes and passes to integers before comparing to values