Print the “approval” sign/check mark (✓) U+2713 in Python

后端 未结 1 807
小蘑菇
小蘑菇 2021-02-11 17:01

How can I print the check mark sign \"✓\" in Python?

It\'s the sign for approval, not a square root.

1条回答
  •  不要未来只要你来
    2021-02-11 17:21

    You can print any Unicode character using an escape sequence. Make sure to make a Unicode string.

    print u'\u2713'
    

    0 讨论(0)
提交回复
热议问题