<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def sign(conf):
 """Sign in and get money."""

    try:
        v2ex = V2ex(conf.config)
        v2ex.login()
        balance = v2ex.get_money()
        click.echo(balance)
    except KeyError:
        click.echo('Keyerror, please check your config file.')
    except IndexError:
        click.echo('Please check your username and password.')