I need to print the red heart emoji ❤️️ with unicode in Python 3 but it has two unicodes (\U00002764 and \U0000FE0F). How am I suppose to print it?
For example, a green heart is print("\U0001F49A")
Neither of the two unicodes worked for me - they both printed black hearts. The red heart requires combining the two unicodes:
print("\u2764\uFE0F")
Explanation for why it requires two unicodes can be found here.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With