IT 116: Introduction to Scripting
Class 25 Ungraded Quiz

  1. Can a list be an element of a list?


  2. What do you call a list each of whose elements is a list?


  3. What is a tuple?


  4. Write a Python statement that creates a tuple assigned to the variable numbers containing the integers 1 through 5.


  5. Write a Python statement that creates an empty tuple assigned to the variable empty.


  6. Write a Python statement creates a tuple containing only the integer 1 ans assigns it to the variable t_1.


  7. Does does a tuple have an append method?


  8. Can you concatenate two tuples?


  9. Does a tuple have a sort method?


  10. What is the name of the tuple conversion function?