<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def assign_from_list(obj: T, fieldlist: Sequence[str], valuelist: Sequence[any]) -> None: """Within "obj", assigns the values from the value list to the fields in the fieldlist."""

    if len(fieldlist) != len(valuelist):
        raise AssertionError("assign_from_list: fieldlist and valuelist of "
                             "different length")
    for i in range(len(valuelist)):
        setattr(obj, fieldlist[i], valuelist[i])