Programming Language Python Tuple MCQ Question #3719
Single Choice Not Set

QSelect true statements regarding the Python tuple

ID: #3719 Python Tuple MCQ 448 views
Question Info
#3719Q ID
Not SetDifficulty
Python Tuple MCQTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A We cannot remove the items from the tuple
  • B We cannot update items of the tuple.
  • C We can remove the item from tuple but we cannot update items of the tuple
  • D Both A and B
Correct Answer

Explanation

A tuple is immutable. The following action is not valid for tuples
tuple1 = (10, 20)
tuple1[0] = 100 #error

Share This Question

Challenge a friend or share with your study group.