Q. Which of the following is a mutable data type in Python?

  • (A) tuple
  • (B) string
  • (C) list
  • (D) frozenset
πŸ’¬ Discuss
βœ… Correct Answer: (C) list
Explanation: Lists are mutable, meaning elements can be changed. Tuples, strings, and frozensets are immutable.
Explanation by: Rati Dubey
Lists are mutable, meaning elements can be changed. Tuples, strings, and frozensets are immutable.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
67
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Rati Dubey
Publisher
πŸ“ˆ
87%
Success Rate