None of the four Beatles could ever read or write standard sheet music.
Both John Lennon and Paul McCartney openly confirmed this throughout their lives:
1) Learning by ear. Like many self-taught rock and skiffle musicians of their era, they learned songs by listening carefully to records, watching other players, and sharing guitar chords with one another.
2) Songwriting by memory. Instead of writing “dots on a page,” Lennon and McCartney memorized their melodies and chord progressions. Paul later noted that if they forgot a song they wrote the night before, they assumed it wasn’t very good anyway.
3) George Martin’s role. Whenever a song needed orchestral arrangements, string quartets, or sheet music for publishing, their classically trained producer, George Martin, transcribed their hummed melodies and played chords onto paper.
Paul McCartney has frequently mentioned that he intentionally avoided learning to read music because he worried formal rules might limit his natural, intuitive approach to writing melodies.