1.
What is the output of the following Python code:
a = [0, 1, 2, 3]
for a[0] in a:
    print(a[0])
2.
What is the output of the following Python code:
a = [0, 1, 2, 3]
for a[-1] in a:
    print(a[-1])
3.
What is the output of the following Python code:
string = "my name is x"
for i in string.split():
    print(i, end = ", ")
4.
What is the output of the following Python code:
string = "my name is x"
for i in string:
    print(i, end = ", ")
5.
What is the output of the following Python code:
x = (i
    for i in range(3))
for i in x:
    print(i)
for i in x:
    print(i)
6.
What is the output of the following Python code:
x = (i
    for i in range(3))
for i in x:
    print(i)
7.
What is the output of the following Python code:
for i in range(5):
    if i == 5:
    break
else :
    print(i)
else :
    print("Here")
8.
What is the output of the following Python code:
for i in range(10):
    if i == 5:
    break
else :
    print(i)
else :
    print("Here")
9.
What is the output of the following Python code:
x = "abcdef"
i = "a"
while i in x[1: ]:
    print(i, end = " ")
10.
What is the output of the following Python code:
x = "abcdef"
i = "a"
while i in x:
    x = x[1: ]
print(i, end = " ")