write down the different ways to create the list sequence type in python
Answers
Answered by
3
Answer:
Python has six built-in types of sequences, but the most common ones are lists ... Creating a list is as simple as putting different comma- separated values between square brackets.
Answered by
8
List Methods in Python | Set 1 (in, not in, len(), min(), max()…) List Methods in Python | Set 2 (del, remove(), sort(), insert(), pop(), extend()…) append(): Used for appending and adding elements to List.It is used to add elements to the last position of List.
Similar questions