What will be the output of the following Python code snippet?
for i in ''.join(reversed(list('abcd'))):
print (i)
for i in ''.join(reversed(list('abcd'))):
print (i)A. a b c d
B. d c b a
C. error
D. none of the mentioned
Answer: Option B

Join The Discussion