From Programming Puzzles to Code Golf
Python 2, 50 bytes



print["Code\40Golf","Programming Puzzles"][" "&gt;""]


Try it online!

With all spaces removed:

print["Code\40Golf","ProgrammingPuzzles"][""&gt;""]


Try that online!

Thanks to Stephen S for 3 bytes, and Erik the Outgolfer for 1