(ABC NEWS) -- President Obama criticized Donald Trump today for suggesting the presidential election will be rigged.
"I have never seen in my lifetime or in modern political history any presidential candidate trying to discredit the elections and the election process before votes have even taken place. It’s unprecedented. It happens to be based on no facts," the president said during a joint news conference at the White House with Italian Prime Minister Matteo Renzi.
"If you start whining before the game's even over? If whenever things are going badly for you and you lose, you start blaming somebody else, then you don’t have what it takes to be in this job," Obama said, pointing to the Oval Office behind him. "I'd advise Mr. Trump to stop whining and go try to make his case to get votes."
Obama added that he would welcome Trump as the next president if he wins the election.
"If he got the most votes, then it would be my expectation of Hillary Clinton to offer a gracious concession speech and pledge to work with him in order to make sure the American people benefit from an American government, and it would be my job to welcome Mr. Trump, regardless of what he said about me or my differences with him on my opinions, and escort him over to the Capitol, in which there would be a peaceful transfer of power," Obama said.
In recent days, the GOP nominee has ramped up his claims that the election will be rigged.
Of course there is large scale voter fraud happening on and before election day. Why do Republican leaders deny what is going on? So naive!— Donald J. Trump (@realDonaldTrump) October 17, 2016
The election is absolutely being rigged by the dishonest and distorted media pushing Crooked Hillary - but also at many polling places - SAD— Donald J. Trump (@realDonaldTrump) October 16, 2016
© 2017 ABC News