US President Donald Trump says he has "learned a lot about Covid" by "really going to school" during his battle with the virus in hospital.