Most United States presidents have kept pets while in office, or pets have been part of their families.[1] Only James K. Polk, Andrew Johnson, and Donald Trump did not have any presidential pets while in office[2] (however, Johnson did take care of some mice he found in his bedroom).[3]
thoughtlongley
was invoked but never defined (see the help page).