Computer Science, asked by 181616, 9 months ago

Long ans Questions Define a List in Python. Explain any five operations that can be performed in List with example​

Answers

Answered by khushi52599raj
2

Answer:

if u think that my answer is correct then follow me and mark me as brainliest

Explanation:

List splicing, sorting , appending , searching , inserting and removing data are some of the operations that can be performed. The append() here, has stored the entire list in sample_list as a single list item.

Answered by davtarannum9j37
1

Answer:

In Python programming, a list is created by placing all the items (elements) inside square brackets [] , separated by commas. It can have any number of items and they may be of different types (integer, float, string etc.). A list can also have another list as an item. This is called a nested list.

operations of nested list

   Create a Nested List. A nested list is created by placing a comma-separated sequence of sublists. ...

   Access Nested List Items by Index. ...

   Negative List Indexing In a Nested List. ...

   Change Nested List Item Value. ...

   Add items to a Nested list. ...

   Remove items from a Nested List. ...

   Find Nested List Length. ...

   Iterate through a Nested List.

i hope this is helpful pls mark as brainlest and give a vote of thanks

Similar questions