t = ['a', 'b', 'c', 'd', 'e', 'f']
t[1:3]
t[1:3]
Anonymous Quiz
17%
['a', 'b', 'c']
35%
['b', 'c', 'd']
42%
['b', 'c']
5%
['a', 'b', 'c', 'd']
s = 'spam' t = list(s) t =
Anonymous Quiz
12%
Error
5%
['s', 's', 's', 's',]
8%
['s']
74%
['s', 'p', 'a', 'm']
s = 'pining for the fjords' t = s.split() t =
Anonymous Quiz
6%
['pining']
13%
Error
81%
['pining', 'for', 'the', 'fjords']
lists are ... and tuples are ...
Anonymous Quiz
18%
mutable - mutable
4%
immutable - immutable
72%
mutable - immutable
7%
immutable - mutable
t = tuple('lupins')
Anonymous Quiz
26%
['l', 'u', 'p', 'i', 'n', 's']
59%
('l', 'u', 'p', 'i', 'n', 's')
15%
Error
t = ('a', 'b', 'c', 'd', 'e') t[0] = 'A'
Anonymous Quiz
4%
('a', 'b', 'c', 'd', 'e')
44%
('A', 'b', 'c', 'd', 'e')
39%
Error
13%
['A']
t = ('a', 'b', 'c', 'd', 'e')
t = ('A',) + t[1:]
t
t = ('A',) + t[1:]
t
Anonymous Quiz
7%
('a', 'b', 'c', 'd', 'e')
49%
('A', 'b', 'c', 'd', 'e')
44%
Error
To copy the contents of an object, including any references to embedded objects
Anonymous Quiz
67%
deep copy
33%
shallow copy
To copy the contents of an object as well as any embedded objects, and any objects
embedded in them, and so on
embedded in them, and so on
Anonymous Quiz
35%
shallow copy
65%
deep copy
t = ('a', 'b', 'c', 'd', 'e')
t = ('A') + t[1:]
t
t = ('A') + t[1:]
t
Anonymous Quiz
10%
('a', 'b', 'c', 'd', 'e')
55%
('A', 'b', 'c', 'd', 'e')
35%
Error