President Obama on Tuesday offered a blunt rebuke to’s claim the presidential election will be rigged against him: Stop whining.

“I’d invite Mr. Trump to stop whining and go try to make his case to get votes,” Obama said during a Rose Garden press conference with Italian Prime Minister Matteo Renzi.

ADVERTISEMENT

Trump has riled his supporters in recent days by ramping up his effort to undermine the November elections as “rigged” by the political establishment and mainstream media.

When Obama was last asked about Trump's claims, in August, he laughed them off . But on Tuesday, the president offered a lengthy rebuttal, arguing the Republican nominee’s charges are baseless and prove he’s unfit to occupy the Oval Office.

“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,” he said. “It’s unprecedented. It happens to be based on no facts.”

Obama pointed out that experts on both sides of the aisle agree that “instances of significant voter fraud” have never been found.

The president also noted elections are run by state and local authorities — controlled by Republicans and Democrats alike — and not the federal government, which would make a nationwide effort to rig the contest virtually impossible.

“That is both irresponsible and, by the way, doesn’t really show the kind of leadership and toughness you want out of a president,” Obama, sporting a bemused grin, said of Trump’s claims.

“You start whining before the game is even over?” he continued. “If whenever things are going badly for you and you lose, you start blaming someone else, then you don’t have what it takes to be in this job.”

The businessman is trailing the former secretary of State by 7 percentage points in the latest RealClearPolitics average of national polls.

To underscore his point, Obama said that in the event Trump reverses his slide and ends up winning the election, both he and Clinton would ensure a peaceful transfer of power.

“It would be my job to welcome Mr. Trump, regardless of what he’s said about me or my differences with him on my opinions, to escort him to the Capitol,” Obama said. “That’s what Americans do. That’s why America’s already great.

“One way of weakening America and making it less great is if you start betraying those basic American traditions that have been bipartisan and have helped to hold together this democracy for well over two centuries.”