Changed print to format

Avoid newline before string and removes quotes around the string