Posts From Built-in Methods

PYTHON GLOBALS() FUNCTION

Using the Python globals() function

Hey, folks! In this article, we talk about the Python globals() function in detail. So, let us get started. What is Python globals() function? Python globals() function enables us to access the list of all the global variables and their values in the particular code throughout the program. The globals() function represents a Python dictionary […]

Python Reversed() Function

What is Python reversed() function?

Hello, hope you all are doing well! In this article, we will be understanding the working of an in-built function — Python reversed() function. Working of Python reversed() function Python serves us with a huge count of in-built functions to deal and manipulate the data. One such function is Python reversed() function. Python reversed() function […]

Python Compile() Function (1)

What is Python compile() function?

Hey, folks! In this article, we will be focusing on Python compile() function. Understanding the Working of Python compile() function Let me take you all back to the system/OS programming from where we deal with the concept of macros and functions. Macros are basically some pre-defined code blocks that get executed with the current source […]

Python Hash Function

Using the Python hash() function

Hello everyone! In today’s article, we’ll be looking at Python’s in-built hash() function. The Python hash() function computes the hash value of a Python object. But the language uses this to a large extent. Let’s understand more about this function, using some examples! Basic Syntax of Python hash() This function takes in an immutable Python […]

The Bool() Method In Python

Python bool() Method: Everything You Wanted to Know

Hey there! Today in this tutorial we are going to learn about the Python bool() method. So, let us get right into the topic. The Python bool() Method The bool() method is a built-in Python method that applies the standard truth testing procedure to the passed object/value and returns a boolean value. Moreover, the bool […]

Python Property(7)

How to Use Python Property Decorator?

Hello again! In this article, we’ll be taking a look at Python property decorator. Python has a very useful feature called decorators, which is just a syntactic sugar for function-wrappers. Here, we’ll be focusing on the property decorator, which is a special type of decorator. This topic may be a bit confusing to you, so […]