English

Answer using Python built-in method/function only: Write a statement to sort the elements of list L1 in descending order. - Computer Science (Python)

Advertisements
Advertisements

Question

Answer using Python built-in method/function only:

Write a statement to sort the elements of list L1 in descending order.

Code Writing
Advertisements

Solution

L1.sort(reverse=True)
shaalaa.com
  Is there an error in this question or solution?
2025-2026 (March) Board Sample Paper
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×