1. Home
  2. Data Science
  3. Python
  4. Which data type in Python is used to represent a sequence…

Added 5 May 2024

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

  1. int
  2. str Correct answer
  3. float
  4. list

Correct answer

B. str

18 views

MCQSEXAM

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

Shown after review. No links please.

More Python MCQs

Practise all Python MCQs

Similar MCQs