def fetch_following(api,name):
    """
    Given a tweepy API object and the screen name of the Twitter user,
    return a a list of dictionaries containing the followed user info
    with keys-value pairs:

       name: real name
       screen_name: Twitter screen name
       followers: number of followers
       created: created date (no time info)
       image: the URL of the profile's image

    To collect data: get the list of User objects back from friends();
    get a maximum of 100 results. Pull the appropriate values from
    the User objects and put them into a dictionary for each friend.
    """
    friends_ls=[]
    for friend in api.get_friends(screen_name=name,count=100):
        #friend_name=api.get_user(screen_name=friend)
        
        dict_user={}
        dict_user['name']=friend.name
        dict_user['screen_name']=friend.screen_name
        dict_user['followers']=friend.followers_count
        dict_user['created']=friend.created_at.strftime('%Y-%m-%d')
        dict_user['image']=friend.profile_image_url_https 
        
        friends_ls.append(dict_user)
        
    return friends_ls