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 ответ
0
Output means the result of your code
20th Oct 2022, 4:35 PM
Harsh Bajpai
Harsh Bajpai - avatar