मराठी

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 insert all the elements of L2 at the end of L1. - 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 insert all the elements of L2 at the end of L1.

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

उत्तर

L1.extend(L2) 

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

Englishहिंदीमराठी


      Forgot password?
Use app×