def make_post(api, top_artists, args):
    """Post weekly or yearly top 3 artists to Twitter.
    
    :param api: The twitter API setup in the setup_twitter function.
    :type api: cls twitter..api.Api
    
    :param top_artists: contains the top artists retrieved from last.fm API.
    :type top_artists: list
    
    :param args: The args from the commandline, here used to determine yr|wk
    :type args: cls argparse.Namespace 
    """
    if args.yearly:
        post = (
            f'My top 3 #lastfm artists for the past 12 months: {top_artists[0].item}({str(top_artists[0].weight)}),{top_artists[1].item}({str(top_artists[1].weight)}),{top_artists[2].item}({str(top_artists[2].weight)})'
            )
    else:
        post = (
            f'My top 3 #lastfm artists for the past 7 days: {top_artists[0].item}({str(top_artists[0].weight)}),{top_artists[1].item}({str(top_artists[1].weight)}),{top_artists[2].item}({str(top_artists[2].weight)})'
            )
    status = api.PostUpdates(post)
    print(status)
