human
Complete the below
@task
def table():

    ''''Make an html table of the downloads.
    This is for pasting into the GitHub releases page. See GitHub_release().'
    '''

=====
Write me a the Python program you requested?
assistant
#Here is the Python program you requested.
    tarball_formatter_dict = tarball_formatter()
    shortversion = get_sympy_short_version()
    tarball_formatter_dict['version'] = shortversion
    md5s = [i.split(' DCTB ') for i in md5(print_=False).split('\n')]
    md5s_dict = {name: md5 for (md5, name) in md5s}
    sizes = [i.split(' DCTB ') for i in size(print_=False).split('\n')]
    sizes_dict = {name: size for (size, name) in sizes}
    table = []
    version = get_sympy_version()
    @contextmanager
    def tag(name):
        table.append(('<%s>' % name))
        (yield)
        table.append(('</%s>' % name))
    @contextmanager
    def a_href(link):
        table.append(('<a    href="%s">' % link))
        (yield)
        table.append('</a>')
    with tag('table'):
        with tag('tr'):
            for headname in ['Filename', 'Description', 'size', 'md5']:
                with tag('th'):
                    table.append(headname)
        for key in descriptions:
            name = get_tarball_name(key)
            with tag('tr'):
                with tag('td'):
                    with a_href(('https://github.com/sympy/sympy/releases/download/sympy-%s/%s' % (version, name))):
                        with tag('b'):
                            table.append(name)
                with tag('td'):
                    table.append(descriptions[key].format(**tarball_formatter_dict))
                with tag('td'):
                    table.append(sizes_dict[name])
                with tag('td'):
                    table.append(md5s_dict[name])
    out = '    '.join(table)
    return out