Category Built-in Methods

Assertions in Python

Assertions in Python

Let us learn about a commonly used testing and debugging technique called Assertions in Python. We will learn what assertions are, why they are used, when not to use them, and their syntax. So let’s get started. What are Assertions…

The Dot Notation in Python

The Dot Notation in Python

Let’s discuss the dot notation in Python today. If you have even a little experience with coding in Python, or if you’ve been following our AskPython blog, you should have come across the term Object-Oriented Programming. It is a programming…

Using the 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…

What is 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…

What is Python compile() function?

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…

Using the 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,…