Remove newline

Hi
I’m not a python shark and I need to remove newline (\ n) after output in:
temperature-pressure-humidity.py script, any good ideas

Found out after about 8 hours, changed:
print(output) to print(output, end="")