1.
What is the output of the following Python code:
print([i + j
    for i in "abc"
    for j in "def"
])
2.
What is the output of the following Python code:
def foo(k):
    k = [3]
q = [0]
foo(q)
print(q)
3.
def print_numbers( * * numbers):
    print(type(numbers))

print_numbers(a = 1, b = 2, c = 3)
4.
Select the correct option:
def print_numbers( * numbers):
    for number in numbers:
    print(number)

print_numbers()
5.
What is the output of the following Python code:
def foo():
    return total + 1
total = 0
print(foo())
6.
In Python, how many except statements are available in a try except block?
7.
In which of the following conditions final block is executed in Python?
8.
What is the output of the following Python code:
def foo():
    try:
    return 1
finally:
return 2
z = foo()
print(z)
9.
Select the correct option:
print('5' == 5)
10.
What is the output of the following Python code:
m = 6
z = lambda n: n * m
print(z(7))