<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def replace_python_tag(wheelname, new_tag):
 # type: (str, str) -> str """Replace the Python tag in a wheel file name with a new value. """

    parts = wheelname.split('-')
    parts[-3] = new_tag
    return '-'.join(parts)