user image

Preeti Tripathi

Job Interview Skills
English
2 years ago

77. In Python, how do you write a Unicode string?

user image

Abhishek Mishra

2 years ago

In Python 3, the "str" type has taken the place of the previous "unicode" type, and the string is now by default Unicode. We may generate a Unicode string by using the function art.title.encode("utf-8").

Recent Doubts

Close [x]