Question DSA-STR-0008
MediumWhat is the output of this code?
print(sorted("listen") == sorted("silent"))
- A.
False
- B.
True
- 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?
print(sorted("listen") == sorted("silent"))
False
True
Sign up free to see the answer and a step-by-step explanation.
Error
None