In Fanno flow, there is no change in total enthalpy (h0) due to the absence of heat transfer and shaft work. Friction affects the fluid by slowing it down at the wall, converting kinetic energy into internal energy, which leads to a drop in dynamic temperature while static temperature increases. Despite these changes, the total temperature and total enthalpy remain constant. Friction does not perform work in this context, confirming that h0 stays the same. Overall, friction influences temperature distribution but does not alter the total energy balance in Fanno flow.