The president said there is simply no evidence of widespread fraud, and it says a lot about Trump that he's complaining even before the election takes place.

Obama said that if a candidate starts whining before the game is over, "then you don't have what it takes to be in this job."

He is stressing that elections are run by state and local officials who come from both major political parties.

The President also down played reports that a senior State Department official had asked the FBI last year to reduce the classification of an email from Hillary Clinton's private server.

Obama said in a Rose Garden news conference Tuesday that some of the "more sensational implications or appearances" related to the report "are not based on actual events." He said those types of interactions "happen a lot."

Trump has said the FBI records show a "criminal act." But Obama says that notion is "just not true."

The records indicated there were discussions about a deal that would have allowed the FBI to deploy more agents in foreign countries in exchange for the classification change. State and FBI officials say there was never a deal.

Trump, meanwhile, is claiming that if he doesn't win the presidential election, "history will remember 2017 as the year America lost its independence."

Trump unleashed a series of tweets Tuesday suggesting that he will "#DrainTheSwamp" of corrupt Washington.