Q. Write the output of the following:
Code:
d = [1, 2, 3]
for k in d:
print(k, end = "+")
else:
print("final")
β
Correct Answer: (C)
1+2+3+final
d = [1, 2, 3]
for k in d:
print(k, end = "+")
else:
print("final")
You must be Logged in to update hint/solution