Add to Chrome
✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Який вірний код для запису емодзі 😀 (код 0001F600) у файл?
f = open("file.txt", mode='tw+', encoding='utf-8')f.write("\U0001f600")f.close()
f = open("file.txt", mode='tw+', encoding='utf-8')f.write("\x0001f600")f.close()
f = open("file.txt", mode='tw+', encoding='utf-8')f.write("0x0001f600")f.close()
f = open("file.txt", mode='tw+', encoding='utf-8')f.write("0001f600")f.close()
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!