What does the output mean? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What does the output mean?

txt = "My name is शांतनु" print(txt.encode(encoding="ascii",errors="backslashreplace")) print(txt.encode(encoding="ascii",errors="ignore")) print(txt.encode(encoding="ascii",errors="namereplace")) print(txt.encode(encoding="ascii",errors="replace")) print(txt.encode(encoding="ascii",errors="xmlcharrefreplace"))

20th Oct 2022, 2:58 PM
Shantanu
Shantanu - avatar
1 Answer
0
Output means the result of your code
20th Oct 2022, 4:35 PM
Harsh Bajpai
Harsh Bajpai - avatar