Package your Python code as Wheel File (Part-20)

Package your Python code as Wheel File If you want to share code with others or create libraries for your code so other can use your code….

Read More

map() function in Python (Part-19)

Using map() Function in Python The map() function in Python is used to apply a function to all the items in an input list. Here are some…

Read More

User Input | input() function |File Handling| open() function in Python (Part-18)

Using input() in Python 3.6 and later When you run this code, it will prompt you to enter a username and then print the entered username. Using…

Read More

Try…Except in Python | Exception handling in Python (part-17)

Exception Handling When an error occurs, or exception as we call it, Python will normally stop and generate an error message. These exceptions can be handled using…

Read More

PIP in Python (Part-16)

What is PIP? PIP is a package manager for Python. It allows you to install and manage additional libraries and dependencies that are not included in the…

Read More

JSON in Python (Part-15)

JSON in Python JSON (JavaScript Object Notation) is a lightweight data interchange format that’s easy for humans to read and write, and easy for machines to parse…

Read More

Dates and Math in Python (Part-14)

1.Dates in Python Dates in Python Python has a built-in module called datetime to work with dates and times. Here’s an overview of how to handle dates…

Read More

Modules in Python (Part-13)

What is a Module? A module is a file containing Python definitions and statements. The file name is the module name with the suffix .py added. Modules…

Read More

Variable Scope in Python (Part-12)

Local Scope A variable declared inside a function is local to that function and can only be used within that function. These variables are created when the…

Read More

Iterators in Python (Part-11)

Iterators in Python An iterator in Python is an object that contains a countable number of values. An iterator is an object which implements the iterator protocol,…

Read More

 Inheritance in Python (Part-11)

Inheritance allows us to define a class that inherits all the methods and properties from another class. Here’s a detailed example: In this example: Multiple Inheritance In…

Read More

 The __init__ method in Class in Python (Part-10)

The __init__ Method Explanation: Example 1: Car Class Example 2: Student Class Example 3: Book Class Example 4: Employee Class Example 5: Bank Account Class Mohammad Gufran…

Read More

Classes and Objects in Python (Part-9)

Creating a Class and Object in Python 1. Create Class Example: 2. Create Object Example: Key Points Example with Methods Example: Summary if we create a =…

Read More

Functions in Python (Part-8)

1.Functions in Python Agenda 1. Functions in Python Functions are blocks of code that perform a specific task. They help in organizing code and reusing it. Example:…

Read More

If … Else/while/For loop in Python (Part-7)

Agenda if Statement in Python Key Points Example with Indentation Importance of Indentation Example of Nested if Statements: elif Statement in Python Key Points Example with Multiple…

Read More

Sets and Dictionaries in Python (Part-6)

Sets are indeed one of the four main built-in data types in Python designed for storing collections of data. The other three are Lists, Tuples, and Dictionaries,…

Read More

Lists and Tuples in Python (Part-5)

Lists in Python -1 The agenda includes: Access List Items Changing List Items Adding Items to a List Remove List Items examples: . Creating a List Accessing…

Read More

Data Types in Python (Part- 4)

Data Types in Python Data types define the type of data a variable can hold and the operations that can be performed on that data. Here are…

Read More

Variables in Python (Part 3)

1.Variables in Python Python Variables To Checking variable type Variables can change type after they have been set. if we assigned string value in double quote like…

Read More

Indentation and Comments in Python (Part 2)

1.Indentation in Python highlighted is indentation 2.Comments in Python Mohammad Gufran Jahangir

Read More