“I” is a subject pronoun. “Me” is an object pronoun. ‘K?
I hit the car.
The car hit me.
Right? “I” goes before a verb, and “me” goes after a verb.
But… if somebody asks who ate the cake, you would be tempted to say, “It was me.” Nope. Wrong. Fail.
As any grammar nazi would tell you, that sentence is more properly rendered, “It was I. I stole the cake.” Duh. How could you not know that pronouns after a “to be” verb have to be in the subject form?
“Who stole the 2000 presidential election?”
Don’t you love English?