Which method of Python Lists must be used in these cases?
(a) Get the position of an item in the list.
(b) Add single item at the end of the list.
(c) Add elements in a list at the end of another list.
Answer:
- index( )
- append( )
- extend( )
Very Short Answer Type Questions (1 Mark each)
Very Short Answer Type Questions (1 Mark each)
Last updated at April 16, 2024 by Teachoo
Answer: