the average temperature for monday , tuesday , wednesday and thursday was 48 degrees and for tuesday , wednesday , thursday and friday was 46 degrees . if the temperature on monday was 42 degrees . find the temperature on friday ?
n0 = 48.0
n1 = 46.0
n2 = 42.0
t0 = n0 * 4.0
t1 = n1 * 4.0
t2 = t0 - t1
answer = n2 - t2
print(answer)