Python Programming - Data Types - Discussion

Discussion Forum : Data Types - General Questions (Q.No. 15)
15.
Which of the following data types is used to represent a sequence of elements that can be modified?
List
Tuple
Set
String
Answer: Option
Explanation:
Lists are used to represent a sequence of elements that can be modified, such as adding or removing elements. Tuples and strings are immutable, while sets do not maintain the order of their elements.
Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.