Question DSA-STR-0046
MediumWhat is the output of this code?
words = "the sky is blue".split()
print(" ".join(reversed(words)))
- A.
blue sky is the
- B.
the sky is blue
- C.
Sign up free to see the answer and a step-by-step explanation.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Strings question
What is the output of this code?
words = "the sky is blue".split()
print(" ".join(reversed(words)))
blue sky is the
the sky is blue
Sign up free to see the answer and a step-by-step explanation.
blue is sky the
eulb si yks eht