You are missing parenthesis around the print statements. The correct syntax is:
print("Temperature: ", temperature," C humidity: ", humidity)
Python 3 requires print statements containing text to be inside of (” “), variables inserted like:
print(" text ", variable, "more text")
solved Python script: Syntax error