Question: is pm still pm during election?
Answer: Typically, the incoming head of government will spend two or three weeks as prime minister-designate before being formally sworn in as prime minister. ... The leader of the largest opposition party therefore could still become prime minister-designate perhaps several weeks after the general election.