1.
What is the output of the following Python code:
names1 = ['Emir', 'Wear', 'Sharlton', 'Saman']
names2 = names1
names3 = names1[: ]
names2[0] = 'Slice'
names3[1] = 'Cob'

sum = 0
for ls in (names1, names2, names3):
    if ls[0] == 'Slice':
    sum += 1
if ls[1] == 'Cob':
    sum += 10

print(sum)
2.
What is the output of the following Python code:
a = [0, 1, 2, 3]
i = -2
for i not in a:
    print(i)
i += 1 - 2 - 1
3.
What is the output of the following Python code:
class Count(object):
    def __init__(self, count = 0):
    self.__count = count
c1 = Count(2)
c2 = Count(2)
print(id(c1) == id(c2))
n1 = "Good"
n2 = "Good"
print(id(n1) == id(n2))
4.
What is the output of the following Python code:
class Name(object):
    def __init__(self, first_name, mi, last_name):
    self.first_name = first_name
self.mi = mi
self.last_name = last_name

first_name = "John"
name = Name(first_name, 'F', "Lisa")
first_name = "Bob"
name.last_name = "Mary"
print(name.first_name)
print(name.last_name)
5.
What is the output of the following Python code:
example = "helo win"
example[3] = 'l'
print(example)
6.
What is the output of the following Python code:
for i in 'abcd' [::-1]:
    print(i)
7.
What is the output of the following Python code:
for j in '':
    print(j)
8.
Given two tuples a and b, select the correct option:
a = (1, 2, 3, 4, 5)
b = (0, 2, 3, 4, 5)
9.
What is the output of the following Python code:
import re
sentence = 'we are humans'
rexex = re.findall(r 'w[1,3]', sentence)
print(rexex)
10.
What is the output of the following Python 3 code:
l1 = ["x", 12, "z"]
l2 = [13, 11]
print(max(l1))
print(min(l2))