IT 116: Introduction to Scripting
Class 22 Ungraded Quiz
-
What do you call a collection of things stored one right after another?
-
What is a list?
-
What is a tuple?
-
What do you call the individual values in a list?
-
Do the values in a list all have to be of the same type?
-
What is the name of the list conversion function?
-
Write an assignment statement that creates an empty list and assigns it to
the variable empty.
-
Write an assignment statement that creates a list of the first 5 integers and
assigns it to the variable l1.
-
What expression would you write to get the number of values in the
list l1?
-
What list method would you use to add a value to the end of a list?