Q. Which data structure is immutable?

A
List
B
Dictionary
C
Tuple
D
Set
Solution:

A tuple is immutable, meaning its elements cannot be changed after creation.

Entri Contact Image

Get Expert Advice for Free: Register for Your Free Consultation Now!