====== Print Special Character ======
{{template>meta:template:pageinfo#tpl
|desc=Introduce how to print special character.}}
===== Overview =====
As described [[https://docs.python.org/2/tutorial/introduction.html#unicode-strings|here]], to include special characters in a string, you can use Python ''Unicode-Escape'' encoding.
The following demonstrates how to print ''↑''.
python
Python 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:38:17) [MSC v.1929 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> print('\u2191')
↑
===== Search Table =====
This is just a list of the ''Unicode'' characters I have used. You can find __all the unicode characters__ [[https://unicode.org/charts/|here]].
^ Character ^ Unicode ^ Description ^
| ↑ | 2191 | Up arrow |