Hey Jody, in reality when there is friction the energy transfer is not 'perfect' because energy is lost as thermal and sound energy. You would definitely be asked to calculate these in more advanced courses but for the sake of general physics we usually assume energy dissipated by friction is negligible.