Question 13
Consider the following Python code:
def transform(words):
if not words:
return []
first = words[0][::-1]
if first == first[::-1]:
first = "<|>"
return [first] + transform(words[1:])
sentence = "refer logic noon stats apple radar"
words = sentence.split()
new_sentence = " ".join(transform(words))
print(len(new_sentence))
What is the output of the given code?