1.
What is the output of the following Python code:
x = 2
for i in range(x):
    x += 1
print(x)
2.
What is the output of the following Python code:
for i in '':
    print(i)
3.
What is the output of the following Python code:
for i in 'abcd' [::-1]:
    print(i)
4.
What is the output of the following Python code:
for i in ''.join(reversed(list('abcd'))):
    print(i)
5.
What is the output of the following Python code:
for i in [1, 2, 3, 4][::-1]:
    print(i)
6.
What is the output of the following Python code:
for i in range(int(float('inf'))):
    print(i)
7.
What is the output of the following Python code:
for i in range(float('inf')):
    print(i)
8.
What is the output of the following Python code:
for i in range(int(2.0)):
    print(i)
9.
What is the output of the following Python code:
for i in range(2.0):
    print(i)
10.
In Python, which of the following data structures is used to implement the most_frequent() function efficiently?