Python List Archive

convert set to list Python

In this tutorial, we will see how to convert set to list in python. You can use python list() function to convert set to list.It is simplest way to convert set to list. Let’s understand …

Python tuple index()

In this post, we will see about Python tuple’s index method.Python tuple’s index method is used to find index of element in the tuple Python tuple count syntax tuple1 is object of the tuple …

Python tuple count()

In this post, we will see about Python tuple’s count method.Python tuple’s count method is used to count the occurrences of element in the tuple. Python tuple count syntax tuple1 is object of the …

Python List append()

In this tutorial, we will see about Python List‘s append method.Python List append is used to add single element to end of the list. Let’s understand about basic of python list first. Python List is …

Python List pop()

In this tutorial, we will see about Python List‘s pop method.Python List pop method is used to remove and return the element at specified index. Python List insert syntax here list1 is object of …

Python List reverse()

In this tutorial, we will see about Python List‘s reverse method.Python List reverse method is used to reverse the list. Python List reverse example You can simply call reverse method to reverse the list. Let’s …

Python List remove()

In this tutorial, we will see about Python List‘s remove method.Python List remove method is used to remove passed element from the list.It will remove first matching element from the list. Python List remove syntax …

Python List sort()

In this tutorial, we will see about Python List‘s sort method.Python List sort method is used to sort the list either in ascending or descending order. Python List sort syntax here list1 is object …