-
admin
Python Lambda Functions
In this tutorial, we’ll study anonymous functions, commonly called lambda functions. We’ll understand what they are, how to execute them, and their syntax. What are Lambda Functions in Python? Lambda Functions in Python are anonymous functions, implying they don’t have a name. The def keyword is needed to create a typical function in Python, as […]
-
admin
Python Built-in Functions
The Python built-in functions are defined as the functions whose functionality is pre-defined in Python. The python interpreter has several functions that are always present for use. These functions are known as Built-in Functions. There are several built-in functions in Python which are listed below: Python abs() Function The python abs() function is used to return the […]
-
admin
Python Functions
This tutorial will learn about the basics of Python functions, including what they are, their syntax, their main components, return keywords, and major types. We will also see examples of how to define a Python function. What are Python Functions? A function is a collection of related assertions that performs a mathematical, analytical, or evaluative […]
-
admin
Python Dictionary
Python Dictionary is used to store the data in a key-value pair format. The dictionary is the data type in Python, which can simulate the real-life data arrangement where some specific value exists for some particular key. It is the mutable data-structure. The dictionary is defined into element Keys and values. Keys must be a […]
-
admin
Python Set
A Python set is the collection of the unordered items. Each element in the set must be unique, immutable, and the sets remove the duplicate elements. Sets are mutable which means we can modify it after its creation. Unlike other collections in Python, there is no index attached to the elements of the set, i.e., […]
-
admin
Python List Vs Tuple
This tutorial will study the major differences between lists and tuples and how to handle these two data structures. Lists and tuples are types of data structures that hold one or more than one objects or items in a predefined order. We can contain objects of any data type in a list or tuple, including […]
-
admin
Python Tuples
A collection of ordered and immutable objects is known as a tuple. Tuples and lists are similar as they both are sequences. Though, tuples and lists are different because we cannot modify tuples, although we can modify lists after creating them, and also because we use parentheses to create tuples while we use square brackets […]
-
admin
Python List
A list in Python is used to store the sequence of various types of data. Python lists are mutable type its mean we can modify its element after it created. However, Python consists of six data-types that are capable to store the sequences, but the most common and reliable type is the list. A list […]
-
admin
Python String
Till now, we have discussed numbers as the standard data-types in Python. In this section of the tutorial, we will discuss the most popular data type in Python, i.e., string. Python string is the collection of the characters surrounded by single quotes, double quotes, or triple quotes. The computer does not understand the characters; internally, […]
-
admin
Python Pass Statement
We will discover more about pass statements in this tutorial. It is interpreted as a placeholder for the future execution of functions, classes, loops, etc. What is Pass Statement in Python? The null statement is another name for the pass statement. A Comment is not ignored by the Python interpreter, whereas a pass statement is […]
