Problem using print() for a challenge solution

Continuing the discussion from Added print() to code example and browser print prompt keeps opening

I did exactly the same thing… Not sure how to fix it.