1.
What is the output of the following Python code:
def foo():
    try:
    return 1
finally:
return 2
z = foo()
print(z)
2.
Select the correct option:
print('5' == 5)
3.
What is the output of the following Python code:
m = 6
z = lambda n: n * m
print(z(7))
4.
What is the output of the following Python code:
l = lambda y: y ** 3
print(l(3))
5.
What is the output of the following Python code:
min = (lambda x, y: x
    if x < y
    else y)
print(min(101 * 99, 101 * 98))
6.
What is the output of the following Python code:
class Cls(object):
    def __init__(self, id):
    self.id = str(id)
id = "111"

obj = Cls(11)
print(obj.id)
7.
What is the output of the following Python code:
print('{0:.4}'.format(1 / 3))
8.
What is the output of the following Python code:
print('wxcdefcdghcd'.split('cd'))
9.
What is the output of the following Python code:
print('abbabbababaab'.replace('xy', '12'))
10.
What is the output of the following Python code:
names = ['Emir', 'Wear', 'Sharlton', 'Saman']
print(names[-1][-1])