QuestionQ237

VerifiedData Collections – Tuples, Dictionaries, Lists, and Strings

Which statements about tuples are true?

Choose two
Explanation

Tuples are iterable, so a for loop can traverse their elements. A tuple containing one element requires a trailing comma, as in 1,. Tuples are immutable, so they cannot be extended with .append(), and subtraction is not a supported tuple operation.

Community Discussion

No comments yet. Be the first to start the discussion!