Category Built-in Methods

How to Use the Python callable() Method

The Callable() Method In Python

Introduction In this tutorial, we are going to discuss the Python callable() method along with its uses and working. Basically, an object or instance is termed callable when it has a defined __call__() function. In that case, we can refer…

Python isinstance() Method

The Isinstance() Method In Python

Introduction In this tutorial, we’ll go over the Python isinstance() method. A user may encounter some situations where she/he needs to determine whether an object is an instance of a specific class, mainly in inheritance. Python provides an in-built method…

The Python isdecimal() Method

String Isdecimal() Method In Python

Introduction We’ll be introducing the python isdecimal() method in this tutorial. What if a user wants to check whether a given string contains a number or more specifically a decimal number or not? That can be a case when the…

The Python float() Method

The Float() Method In Python

Introduction All Python features are associated with objects. Python float creates floating-point objects in Python. It is one of the primitive elements of Python programming. Further all kinds of objects are classified into types. Some of the basic native types…

Python string to int and int to string

Python String To Int, Int To String

In this article, we will understand the conversion of Python String to Int and int to string conversion. In Python, the values are never implicitly type-casted. Let’s find out how to explicitly typecast variables. 1. Python String to int Conversion…

The map() Method in Python

The Map() Method In Python

Introduction The map() method in Python is vastly used to apply a function or operation on a sequence of data. The method after applying a specific function to all the elements of iterable returns a map object. This map object…

any() Method in Python Programming

Any() Method In Python

The any() method in Python is another built-in method. We saw earlier the working and the usage of the all() method in Python. The any() method is very similar to that method. It tells us about the nature of any…

all() Method In Python Programming

All() Method In Python

Python comes with many interesting pre-defined methods. One of them is the all() method in Python. This method is widely used to check whether all the elements of an iterable Python object are truthy. So let us learn more about…

Python pow() method

POW() IN PYTHON

The Python pow() function is one of the most commonly used built-in function in Python programming. It is extensively used to calculate the value of a to the power n or more specifically an. It is a very useful function…

Python Iterator

Python Iterator

A Python Iterator is an object that can be iterated upon. Any kind of object that supports this kind of iteration is called as an iterator. Now, you may be confused. There exists another object called iterable. What is that?…