How Obama learned about politics right before the primaries