How to get ° character in a string in python?

前端 未结 6 1060
南方客
南方客 2020-12-07 16:07

How can I get a ° (degree) character into a string?

6条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-07 16:45

    just use \xb0 (in a string); python will convert it automatically

提交回复
热议问题