Using POUND SIGN as a string in PYTHON?

前端 未结 3 1524
情深已故
情深已故 2021-01-27 04:16

I want to have a string containing 4 pound signs..how can I accomplish this in Python without commenting the string out due to the pound signs?

3条回答
  •  有刺的猬
    2021-01-27 04:55

    If some IDE interprets '####' as a half-baked string plus a comment, change the IDE!

提交回复
热议问题