<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def coderelpath(coderoot, relpath):
 """Returns the absolute path of the 'relpath' relative to the specified code directory."""

    from os import chdir, getcwd, path
    cd = getcwd()
    chdir(coderoot)
    result = path.abspath(relpath)
    chdir(cd)
    return result