actually all beatles songs were credited to lennon/mccartney (except for harrison songs of course), but you could always tell who really wrote them by who was singing...at least that's what george martin says.
Some of those songs were actually penned by George but placed under Lennon/McCartney.
Thank you Mister Know-It-All.