pythwan
pythwan

Reputation: 99

how can I print this symbol in PyCharm: "█"

I'm trying to print = " █ " in PyCharm. I get not exception thrown, or TraceBack error. but instead of printing " █ " it prints " ? ". how can I make PyCharm to print the symbol ? it's ASCII code is 219

Upvotes: 1

Views: 227

Answers (1)

Akash
Akash

Reputation: 64

Try this:

>>> print('\u2588')
█

I checked it in pycharm as well, it works.

Upvotes: 1

Related Questions