Vidyalelo
Python · Q3

MCQs for Python Data Types and Numeric Types Chapter

Programming · Python · question 3

Q3

What data type is used to represent a sequence of characters in Python?

A.
string
B.
char
C.
text
D.
str
Answer

Answer: Option D

Solution

Answer: Option D
Solution:
The data type for sequences of characters in Python is str.