No products in the cart.

Insert function in python

CBSE, JEE, NEET, CUET

CBSE, JEE, NEET, CUET

Question Bank, Mock Tests, Exam Papers

NCERT Solutions, Sample Papers, Notes, Videos

Insert function in python
  • 1 answers

Sia ? 5 years, 5 months ago

The insert() method inserts an element to the list at a given index.
The insert() function takes two parameters:

  • index - position where an element needs to be inserted
  • element - this is the element to be inserted in the list

Return Value from insert() : The insert() method only inserts the element to the list. It doesn't return anything; returns None.

http://mycbseguide.com/examin8/

Related Questions

What is mean by buffering in file handling?
  • 1 answers
What are called tokens
  • 2 answers

myCBSEguide App

myCBSEguide

Trusted by 1 Crore+ Students

Test Generator

Test Generator

Create papers online. It's FREE.

CUET Mock Tests

CUET Mock Tests

75,000+ questions to practice only on myCBSEguide app

Download myCBSEguide App