1.1598561-3011724907
US President Barack Obama speaks at a Democratic National Committee event at the Warfield Theater October 10, 2015 in San Francisco, California. Obama is traveling to California to fundraise for Democrats. AFP PHOTO/BRENDAN SMIALOWSKI Image Credit: AFP

If you’re going to run for president, Kanye West, you might as well listen to someone who’s been there and done that.

President Barack Obama is offering advice to the rapper who declared last month on the MTV Video Music Awards that he’s running in 2020.

“I do have some advice for him,” Obama said during a West Coast fundraiser featuring an appearance by the rapper. “Just some stuff that I’ve picked up on the way.”

Obama’s Tip No. 1 could have been aimed at reality TV star turned presidential candidate Donald Trump — and maybe a few others in the crowded GOP field.

“First of all, you’ve got to spend a lot of time dealing with some strange characters who behave like they’re on a reality TV show,” Obama said. “So you’ve just to be cool with that.”

Tip No. 2 referenced West’s fifth studio album. “Saying that you have a Beautiful Dark Twisted Fantasy — that’s what’s known as ‘off-message’ in politics,” Obama said. “You can’t say something like that. There are a lot of people who have lost their congressional seats saying things like that.”

Tip No. 3 hit the Chicago-raised West close to home. “Do you really think that this country is going to elect a black guy from the South Side of Chicago with a funny name to be president of the United States?” Obama asked. “That is crazy. That’s cray!” Obama once lived in that area of Chicago.

Obama, aka POTUS, also joked that West has his own nickname for the person in the White House — Peezy (that’s someone who is really, really cool).

West also is thinking about running for speaker of the House, Obama cracked.

“Couldn’t get any stranger,” he said.