When a politician lamely tries to fake being cool, it’s worth considering just how false he or she really is. The latest case is Sen. Kamala Harris.

On a radio show Monday, she “confessed” to smoking pot in college: “And I inhaled.” Asked if she was listening to weed-loving Snoop Dogg at the time, she replied, “Definitely Snoop, Tupac [Shakur] for sure.”

Oops: Neither rapper had made it before she graduated from law school, let alone college.

But the games run much deeper.

In her new book, “The Truths We Hold,” she lectures: “Something else it’s past time we get done is dismantling the failed war on drugs — starting with legalizing marijuana.”

Hmm: Running for re-election as California attorney general just over four years ago, she laughed at a reporter who asked about an opponent’s support for pot legalization. And she refused to back putting the question before voters in a ballot measure.

Her book condemns “people using the power of the prosecutor as an instrument of injustice.” Pot, meet kettle: In 2015, for instance, she tried to keep a man in jail even after a judge found him innocent, because his not-guilty proof wasn’t delivered fast enough.

And when death-row inmate Kevin Cooper, whose trial was rife with corruption, sought advanced DNA testing to prove his innocence, Harris opposed it.

Lying about toking to Tupac is just a taste of Kamala Harris’ fakery.