Python List Archive

Python list to tuple

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

Convert string to list python

In this post, we will see how to convert String to list in Python. We can use String’s split function to convert String to list. String’s function Python String split function signature Parameters …

Remove from list Python

In this post, we will see how to remove an element from list in python. You can remove elements from list in 3 ways. Using list object’s remove method Here you need to specify element …

Python sort list of tuples

In this tutorial, we will see about how to sort list of tuples on the basis of various criterion. Let’s understand with the help of example Let’s say you have list of tuples as below: …