Tuples can be nested and can contain other compound objects like lists, dictionaries and other tuples.
2 Likes
True
Reason — Tuples in Python can be nested, meaning they can contain other tuples, lists, dictionaries, or any other compound objects.
Answered By
3 Likes
The keys of a dictionary must be of immutable types.
Lists and strings in Python support two-way indexing.
Which of the following is not considered a valid identifier in Python ?
What will be the output of the following code — print("100 + 200") ?
print("100 + 200")