1.
What is the output of the following Python code:
y = 2
for i in range(y):
    y -= 2
print(y)
2.
What is the output of the following Python code:
values = [2, 3, 2, 4]

def my_transformation(num):
    return num * * 2

for i in map(my_transformation, values):
    print i
3.
What is the output of the following Python code:
a = 5
b = '5'
print a + b
4.
What is the output of the following Python code:
print '1' * 5
5.
What is the output of the following Python code:
x = [2, 6, 3, 1, 10, 5]
y = max(x)
print(y)
print(count(x))
6.
In Python, which of the following statements is NOT true?
7.
In Python, which of the following is not a correct way to initialize a list?
8.
What is the output of the following Python code:
l = list("string")
print l
9.
In Python, which of the following statements converts a given string into a pattern object?
10.
In Python, which of the following is not a list method?