English

Write the Python statement for the following task using the BUILT-IN function/method only: To insert an element 200 at the third position, in the list L1. - Computer Science (Python)

Advertisements
Advertisements

Question

Write the Python statement for the following task using the BUILT-IN function/method only:

To insert an element 200 at the third position, in the list L1.

One Line Answer
Advertisements

Solution

L1.insert(2,200)
shaalaa.com
  Is there an error in this question or solution?
2023-2024 (March) Board Sample Paper
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×