Printing special characters in Python -


i beginner python programmer , wanted use character: █. have tried doing: print "█" got error. have looked solutions, have found nothing helped me.

you can print unicode symbol using \uxxxx notation. instance, 2588 code unicode block.

 print('\u2588') 

Comments