<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def md5sum(data):
 """ Return md5sum of data as a 32-character string. 'd9b9bec3f4cc5482e7c5ef43143e563a' 'd9b9bec3f4cc5482e7c5ef43143e563a' 32 """

    if six.PY3:  # pragma: no cover
        return hashlib.md5(data.encode('utf-8')).hexdigest()
    else:  # pragma: no cover
        return hashlib.md5(data).hexdigest()