John and I went to the same university.
John and I didn't take the same subjects.
Both John and I played rugby.
Neither John nor I had a girlfriend.
My father took John and me to the cinema.
He didn't take John and me to the theatre.
'I' comes last. It's style, not grammar.
Student or Learner