Python
10+ examples on python sort() and sorted() function
We can use sort() or sorted() in-built function to perform python sorting for different data types such as list, tuples, dictionaries, list of dictionaries with …
10+ simple examples to use Python string format in detail
There are three different style of python string formatting, % formatting, string.format() and f-strings. Add padding, whitespace, truncate texts, change …
15+ simple examples to learn Python list in detail
A list is a data structure in Python that is a mutable, ordered sequence of elements. lists are defined by having different data types between square brackets [ …
10+ simple examples to learn python tuple in detail
Python tuples are collection of comma-separated values. It is identical to a list, except it is immutable. Tuples are useful for storing information that you …
10+ simple examples to learn python sets in detail
Python sets are collections of unique and unordered items. It implements all the fundamental operations from set theory, like union, intersection, subset tests …
