Question: What is the term for a situation in which the president and prime minister come from different political parties?
Answer: When it arises, such a state of affairs is usually referred to as (political) cohabitation.
Is the question answered in a satisfactory fashion?
yes