It is just a phrase. “A for effort” is a cliché that refers to the habit of giving high marks for trying.
The article does not intend to actually give Obama a grade. It is a reference to a concept “A for effort”
yeah, I know that. Even so, who in the world would give Obozo the benefit of a cliche. I’d give him a D- for effort.