1.

What is the default value of encoding in encode()?(a) ascii(b) qwerty(c) utf-8(d) utf-16This question was posed to me in semester exam.This question is from Strings topic in section Strings of Python

Answer»

Correct OPTION is (c) utf-8

The BEST EXPLANATION: The DEFAULT VALUE of encoding is utf-8.



Discussion

No Comment Found

Related InterviewSolutions