Swedish Prime Minister Magdalena Andersson handed in her resignation on Thursday after she accepted that her government