Answer by A Quora admin:
If you're unsure about whether to use "I" or "me" in sentences such as:
My friend and I went to the shop.
Just follow this simple rule: Remove the other person from the sentence and see if it still makes sense.
For instance, you may wish to say:
Me and my friend went to the shop.
Of course, the meaning is conveyed and it doesn't sound particularly incorrect but technically it is still incorrect. How do we know? Remove the other person from the sentence:
Me went to the shop.
Doesn't make sense.
And the same thing the other way around.
Steve picked my friend and I up.
Take out the other person and see if it's correct:
Steve picked I up.
Not correct. It should be:
Steve picked me and my friend up.