Category: Python Archives - The Code Learners

Python Sets are another datatype in python which are unordered and eliminates duplication of elements. Items are put one after another enclosed by curly brackets.

In Python, Tuple can be formed by placing a sequence of elements side by side separated by comma(,) inside parentheses. The difference between a `tuple` and `list` is that tuples are immutable(they cannot be altered or modified) whereas list can be changed and altered.

Python lists are arrayable elements which contain heterogeneous data values. It can have any numbers of rows. These lists can be sorted or modified.

Python string functions manipulate the string. In this post we'll learn about slicing, splitting, replacing and case conversion of string.

Python Programming language is most popularly not just used for ML, Data Science. But also Web Development, Desktop application.