CBSE Class 11 Informatics Practices Question 4 of 40

Practice Paper — Question 4

Back to all questions
4
Question

Question 4

Define Sequence data type in Python? Give two examples.

Answer

A sequence data type is a data structure that holds an ordered collection of items. These items can be of any type, and the sequence maintains their order.

For example — list, string.