Python write a method named friend list that accepts a dictionary as a parameter and reads friend relationships and stores them into a new dictionary that is returned.
a. def friend_list(dictionary):
b. def friendlist(dict):
c. def create_friend_list(d):
d. def generate_friendlist(data):