मराठी

If L1 = [1, 2, 3, 2, 1, 2, 4, 2, . . . ], and L2 = [10, 20, 30, . . .], then (Answer using builtin function only) Write a statement to reverse the elements of list L2. - Computer Science (Python)

Advertisements
Advertisements

प्रश्न

If L1 = [1, 2, 3, 2, 1, 2, 4, 2, . . . ], and L2 = [10, 20, 30, . . .], then
(Answer using builtin function only)

Write a statement to reverse the elements of list L2.

एक शब्द/वाक्यांश उत्तर

उत्तर

L2.reverse() 

shaalaa.com
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
2024-2025 (March) Board Sample Paper
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×