I am using Python 3.7 on a Windows 10 machine.
You can define a list as shown.
ListMethods_0
You can reverse a list
ListMethods_1
Index of a list element. It is zero based.
ListMethods_2
You can add element to a list using append()
ListMethods_3.png
You can sort the list using sort()
ListMethods_4.png
You can find the argument limits of list index as shown here. List can have very large number of elements indeed.
ListMethods_5.png
You can remove element from list
ListMethods_6.png
Beware of case sensitiveness.
You can define a list as shown.
ListMethods_0
You can reverse a list
ListMethods_1
Index of a list element. It is zero based.
ListMethods_2
You can add element to a list using append()
ListMethods_3.png
You can sort the list using sort()
You can find the argument limits of list index as shown here. List can have very large number of elements indeed.
ListMethods_5.png
You can remove element from list
ListMethods_6.png
Beware of case sensitiveness.
No comments:
Post a Comment