How can I get a ° (degree) character into a string?
°
You can also use chr(176) to print the degree sign. Here is an example using python 3.6.5 interactive shell:
chr(176)