Which data type is used to store a sequence of characters?
-
A
int
-
B
float
-
C
str
Correct answer
-
D
list
16 views
Explanation
The 'str' (string) data type is used to store a sequence of characters, such as text or words.
Doubts & discussion
Not sure why the answer is C? Ask here and get an explanation.
Ask a doubt about this MCQ