1.
What is the output of the following Python code:
print('wxcdefcdghcd'.split('cd'))
2.
What is the output of the following Python code:
print('abbabbababaab'.replace('xy', '12'))
3.
What is the output of the following Python code:
names = ['Emir', 'Wear', 'Sharlton', 'Saman']
print(names[-1][-1])
4.
Select the correct option:
lis = [1, 3, 2]
lis = lis * 2
print(lis)
5.
What is the output of list2.index(5) in the following Python code:
list2 = [3, 4, 5, 20, 5]
6.
What is the output of the following Python code:
print list("w#x#y#z".split('#'))
7.
What is the output of the Python following code:
def f(i, values = []):
    values.append(i)
return values

f(5)
f(6)
v = f(7)
print(v)
8.
What is the output of the following Python code:
numbers = [5, 6, 7, 8]
numbers.append([1, 2, 3, 4])
print len(numbers)
9.
What is the output of the following Python code:
list1 = [11, 12, 13, 14]
list2 = [15, 16, 17, 18]
print len(list1 + list2)
10.
What is the output of the following Python code:
m = [
    [y, y + 1, y + 2]
    for y in range(0, 3)
]
print(m)