<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def state(anon, obj, field, val):
 """ Returns a randomly selected US state code """

    return anon.faker.state(field=field)