ASCII and unicode characters in Python
- \ooo - ASCII character (octal value ooo)
- \xhhh - ASCII character (hex value hhh)
- \uxxxx - Unicode Character with 16-bit hex value xxxx
- \Uxxxxxxxx - Unicode Character with 32-bit hex value xxxxxxxx
Example:
print("A as unicode: \x41")
spades = """Royal Straight Flush \
\U0001F0A1 \U0001F0AE \U0001F0AD \U0001F0AB \U0001F0AA
"""
print(spades)