How can i print emoticons in python? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How can i print emoticons in python?

I am unable to print emoticons it gives me an error what to do?

20th Apr 2019, 3:58 AM
Labhinder Singh
Labhinder Singh - avatar
1 Answer
+ 5
import sys, codecs sys.stdout = codecs.getwriter('utf_16')(sys.stdout.buffer, 'strict') print('👍😜')
20th Apr 2019, 4:03 AM
portpass