Often, Beatles songs would have "Lennon/McCartney" written on the record, and it would look like that they had written it together. In fact, most Lennon/McCartney songs were written by only one of them, or with one adding only small parts to the other's work. Each counted on the other to help make their songs better, so they agreed to share the credit equally.