πŸ“Š Python
Q. Which built-in function returns a new sorted list from an iterable?
  • (A) sort()
  • (B) sorted()
  • (C) arrange()
  • (D) order()
πŸ’¬ Discuss
βœ… Correct Answer: (B) sorted()

Explanation: sorted returns a new list without modifying the original.

Explanation by: Mr. Dubey
sorted returns a new list without modifying the original.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
50
Total Visits
πŸ“½οΈ
8 mo ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
83%
Success Rate