<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def dfromdm(dm):
 """Returns distance given distance modulus. """

    if np.size(dm)>1:
        dm = np.atleast_1d(dm)
    return 10**(1+dm/5)