IT 116: Introduction to Scripting
Class 25 Ungraded Quiz
-
Can a list be an element of a list?
-
What do you call a list each of whose elements is a list?
-
What is a tuple?
-
Write a Python statement that creates a tuple assigned to the variable
numbers containing the
integers 1 through 5.
-
Write a Python statement that creates an empty tuple assigned to
the variable empty.
-
Write a Python statement creates a tuple containing only the integer 1
ans assigns it to the variable t_1.
-
Does does a tuple have an append method?
-
Can you concatenate two tuples?
-
Does a tuple have a sort method?
-
What is the name of the tuple conversion function?