Who wrote which Beatles song?
Because of the way the publishing deal was set up between John and Paul, “Lennon-McCartney” was credited for a lot of songs that John or Paul actually composed alone. The general rule of thumb is that the Beatle who sang the song is the one who wrote it (except for Ringo, of course). It all gets a bit confusing after a while, but my Beatles song pages list the data for some of the confusing ones.