Which data type in Python is used to represent a sequence of Unicode characters?
-
A
int
-
B
str
Correct answer
-
C
float
-
D
list
18 views
Explanation
The str data type in Python is used to represent strings, which are sequences of Unicode characters.
Doubts & discussion
Not sure why the answer is B? Ask here and get an explanation.
Ask a doubt about this MCQ