Powered by OpenGenus IQ because we want you ❤️ to succeed. (How to use
this?) Bookmark this page now (press CTRL + D) to easily use this
Only topics that you need to practice to get to an advanced level in Python. Nothing more,
Introduction to Variables
There are several types of variables like Scalar variables which contains Integer, float and many
other variable sub types.
Variables help us to store information which we can then use in a program.
statements help us to check whether certain
conditions are met or not. Code inside the if statement only runs when the
if condition is true.
Otherwise, the code inside the else condition runs.
the code inside them repeatedly as long as the while condition evaluates to true. When the
condition evaluates to false, the code inside the while loop stops running.
When we want to run our code for a specific number of times, we use for
loops. We can also use these loops for many other purposes.
is and is not operators in Python
and is not operators help in comparing values and objects in our programs.
Introduction to Functions
Instead of writing the same code repeatedly, we can create
functions and use them whenever we need to throughout the program. This
saves time in writing code. Functions also sometimes require the use of
arguments which we need to pass into the function.
Variable and Function Scope
Whether we can access a variable throughout the program depends on its
scope. This has important implications whenever we create any program. The
same logic applies when we create any function.
One of the most commonly used functions is the
range function. The i
variable in this function is always local-scoped.
Generally, we have to name our functions to use them. But we can also create nameless functions,
also known as anonymous functions. In Python, we call them
functions. We can also use these to shorten statements like if-else.
What are modules?
For any task like data analysis, machine learning, image or audio
processing etc, specifically created and grouped utilities and functions exist, which we call as
libraries. In Python, we call them modules. Many Python modules exist for a variety of
purposes. An example of a module is the Random module, which
generates random values in our programs.
Introduction to Classes and Objects
are like templates for creating objects in Python. What are objects? Every element in Python is
an object. Every object is an instance of some class. The concept of
discusses this in brief.
Abstraction helps us to represent objects in our programs with the required essential features
and without unnecessary details. Abstract classes
help us use abstraction in our programs.
We can alter how classes or functions work in our programs using Decorators in Python.
As classes may have different class attributes, Descriptors help to create, control and manage such attributes.
Data structures like lists store objects of different data types together in
one place. We can also access and change items inside lists using indexing.
store objects of the same data type, which we can access later on in our programs.
We can store multiple objects inside Tuples. Once we put items inside a tuple,
we cannot change them.
We can store information in key-value pairs using dictionaries. Like lists, we can also access and change items inside
us store information like lists, the difference being that we
cannot put duplicate values inside them. Also, sets will automatically
sort the data we put inside them.
Double Ended Queue, also known as Deque, helps us store information which we can then
modify from both sides of the queue, from the start or end.
Mutable and Immutable Objects
When we can modify objects, we call them mutable. Otherwise, we call them immutable. We have to
design our programs carefully with a proper knowledge of mutable and immutable objects.
Create a custom Binary Tree structure
Binary trees are a popular data structure used widely in many applications. Learn how to create
a binary tree in Python.
Introduction to Regular Expressions
expressions help us to match or search for a particular pattern
in data. We can also use these to shorten our code.
Introduction to Unit Testing
For bug-free code, test driven development is of vital importance. Unit Testing helps us to test individual components in our program and
ensure that it's error-free.
Understand how to create a script that zips any file
using Python along with the zipfile and the shutil modules.
CRUD application using Django
CRUD applications make use of basic functions of create, read, update and delete. These form the
building blocks of any application. Learn how to create a simple CRUD app in Python using the Django framework. Also gain an
understanding of the try-else statements.
Learn how to create your own 2048 game. This will also give you a firm grasp on loops.
Flappy Bird Game
Gain a conceptual understanding of programming and python concepts by building your own flappy
Get a firm grasp on the concept of classes and learn how to develop a snake
game using Python.
Implement your own version of the minesweeper game. Learn how to handle events using the
Tic Tac Toe Game
Learn how to build your own Tic Tac Toe game using Python. You will also learn about
getting input from users and error handling.
EEG stands for Electroencephalography. It is a technique used to record brain activity,
and helpful in evaluating brain disorders. Learn how to perform EEG signal analysis with the help of the MNE-Python library.
Get a practical understanding of document clustering
by implementing your own document clustering using K means project. You will use the popular
machine learning library along with NumPy, Pandas and the
TextRank for Text Summarization
In Natural Language Processing, TextRank is an important technique for producing document
summaries. Learn how to implement
textrank for text summarization using
modules like math and __future__ along with NumPy and
NLP Project: Compare Text Summarization Models
Learn more about the concept of Text Summarization and build a project comparing text summarization models. You will use libraries like
Transformers, Pytorch, NLTK, Sumy and
Rouge along with
SentencePiece tokenizer and the
Flask Web App for a Machine Learning model
Learn how to deploy a machine learning model by creating a web application using Flask. This project uses NumPy,
Pandas and the
Sklearn libraries along with the Pickle module.
Differentiating Fake Faces using Simple ML and Computer Vision
Implement a neural network called ShuffleNet using Python. Utilize libraries and modules like
Pytorch, NumPy, os, math, datetime, tqdm, tarfile, warning, Matplotlib and PIL.
Native Language Identification (NLI)
In Natural Language Processing (NLP), NLI is an important concept. Get a grasp on NLI by
building a native language identification model that identifies the native language
of the author. This model makes use of the Sklearn library and the re