IT 116: Introduction to Scripting
Class 24 Ungraded Quiz
If list_1 is a list, what is list_2
after the following statement is executed?
list_2 = list_1
Write a Python statement that creates a new list, list_2, that
has all the elements of the list list_1 in the same order.
Can a function that is given a list as a parameter and does not have a
change the list given as a parameter?
If list_1 and list_2 are list variables,
write a Python statement that creates the new list list_3 that consists
of all the elements in list_1 followed by all the elements in
Write a loop that increases the value of all the integers in the list list_1