Category Python

Strings in Python (with Examples)

Representation of Python strings

Strings in Python are a sequence of characters, which consist of one or more letters, numbers, punctuation marks, and spaces. For example, “Python” is a string which contains a sequence of six characters ‘P’, ‘y’, ‘t’, ‘h’, ‘o’ and ‘n’.…

Mutable and Immutable in Python

In this tutorial, we will learn about the meaning of mutable and immutable objects in Python with the help of examples. We know that everything in Python is an object. For example, objects or relation between objects represent all the…

Python Syllabus | Advanced Python Topics

Python is free general purpose programming language with neat and beautiful syntax. It is available across many platforms, such as Windows, Linux, and Mac OS. Due to its easy to learn nature along with object-oriented features, Python is used to…

Python abs() Function

The abs() function available in Python standard library determines the absolute value of a specified numeric number, which is the (positive) distance between x and zero. This function works on integer, floats, and complex numbers. In the case of complex…

Built-in Functions in Python

We know that there are two types of functions in Python: built-in functions and user-defined functions. Built-in functions are those functions whose functionality is predefined by Python and are always accessible. Python interpreter has several built-in functions that are present…