c. For the following, write the line(s) of code that will emit the given Output. For each problem there may be more than one correct answer; just give one
1.
>>> a_list = [3, 5, 6, 12]
>>> YOUR CODE HERE
3
2.
>>> a_list = [3, 5, 6, 12]
>>> YOUR CODE HERE
12
3.
>>> a_list = [3, 5, 6, 12]
>>> YOUR CODE HERE
[5, 6, 12]
4.
>>> a_list = [3, 5, 6, 12]
>>> YOUR CODE HERE
3 5 6 12
5.
>>> a_list = [3, 5, 6, 12]
>>> YOUR CODE HERE
[12, 6, 5, 3]
6.
>>> a_list = [3, 5, 6, 12]
>>> YOUR CODE HERE
[9, 15, 18, 36]
7.
>>> a_list = [3, 5, 6, 12]
>>> YOUR CODE HERE
[False, False, True, True]
1.
>>> a_list = [3, 5, 6, 12]
>>> YOUR CODE HERE
3
2.
>>> a_list = [3, 5, 6, 12]
>>> YOUR CODE HERE
12
3.
>>> a_list = [3, 5, 6, 12]
>>> YOUR CODE HERE
[5, 6, 12]
4.
>>> a_list = [3, 5, 6, 12]
>>> YOUR CODE HERE
3 5 6 12
5.
>>> a_list = [3, 5, 6, 12]
>>> YOUR CODE HERE
[12, 6, 5, 3]
6.
>>> a_list = [3, 5, 6, 12]
>>> YOUR CODE HERE
[9, 15, 18, 36]
7.
>>> a_list = [3, 5, 6, 12]
>>> YOUR CODE HERE
[False, False, True, True]