<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def populate_obj(obj, attrs):
 """Populates an object's attributes using the provided dict """

    for k, v in attrs.iteritems():
        setattr(obj, k, v)