def redshift_correct(z, wavelengths):
    wavelengths_corrected = (wavelengths / (z + 1))
    return wavelengths_corrected
def redshift_correct(z, wavelengths):
    wavelengths_corrected = (wavelengths / (z + 1))
    return wavelengths_corrected