Question DSA-STR-0065
HardWhat is the output of this code?
s = "the quick brown fox"
print(" ".join(w[::-1] for w in s.split()), s.title().swapcase()[:5])
- A.
the quick brown fox tHE q
- B.
fox brown quick the tHE q
- C.
eht kciuq nworb xof The Qu
- D.
eht kciuq nworb xof tHE q
Sign up free to see the answer and a step-by-step explanation.