SlideShare a Scribd company logo
Python
M a s t e r
Basic → Intermediate
in 15 Days
01
Day
Get acquainted with Python and set up the development
environment.
1 Python Official Documentation: 

https://www.python.org/doc6
1 Codecademy Python Course: 

https://www.codecademy.com/learn/learn-python-3
Q 1: Write a Python program to print "Hello, World!"

Q 2: Calculate the sum of two numbers entered by the user.

Q 3: Convert temperature from Celsius to Fahrenheit.
1
") Write a Python program to calculate the area of a
rectangle given its length and width+
) Create a program that takes a user's name and age as
input and prints a greeting message+
%) Write a program to check if a number is even or odd+
) Given a list of numbers, find the maximum and minimum
values+
) Create a Python function to check if a given string is a
palindrome+
) Calculate the compound interest for a given principal
amount, interest rate, and time period+
) Write a program that converts a given number of days
into years, weeks, and days+
) Given a list of integers, find the sum of all positive
numbers+
) Create a program that takes a sentence as input and
counts the number of words in it+
 ) Implement a program that swaps the values of two
variables.
2
02
Day
Understand variables and different data types in Python.
, W3Schools Python Variables: 

https://www.w3schools.com/python/
python_variables.as
, Real Python Data Types: 

https://realpython.com/python-data-types/
Q 1: Create variables for storing a person's name, age, and  

average test score.

Q 2: Concatenate two strings and print the result.

Q 3: Create a list of fruits and access elements using 

indexing.
3
(, Given a list of numbers, find the sum and average
, Create a program that takes a temperature in Celsius and
converts it to Kelvin
), Implement a program that checks if a given string is a
palindrome
, Create a function to reverse a given string
#, Given a list of names, concatenate them into a single
string separated by spaces
, Write a Python program to check if a given string is a
pangram (contains all letters of the alphabet)
, Calculate the area and circumference of a circle given its
radius
, Implement a program that converts a given number of
minutes into hours and minutes
, Create a function to count the number of vowels in a
given string
( , Write a program to check if a number is prime.
4
03
Day
Learn about conditional statements and loops in Python.
1 W3Schools Python Conditions: 

https://www.w3schools.com/python/
python_conditions.as$
1 Real Python Python Loops: https://realpython.com/
python-for-loop/
Q 1: Write a program that checks if a given number is 

positive, negative, or zero.

Q 2: Create a loop that prints the first 10 even numbers.

Q 3: Implement a program that finds the largest number

in a list.
5
0 Create a program that takes a year as input and checks if
it is a leap year or not)
0 Given a list of integers, find all the even numbers and
store them in a new list)
-0 Write a Python program to check if a given number is a
prime number)
0 Create a program that generates the Fibonacci sequence
up to a given number of terms)
0 Given a list of names, print all names starting with the
letter 'A')
0 Implement a program that prints the multiplication table
of a given number)
0 Write a program that calculates the factorial of a given
number)
0 Create a loop that prints all prime numbers between 1 and
50)
0 Given a list of words, count the number of words with
more than five characters)
 0 Calculate the sum of digits of a given number.
6
04
Day
Understand functions and how to define and call them.
- W3Schools Python Functions: 

https://www.w3schools.com/python/
python_functions.as#
- Real Python Defining Functions: 

https://realpython.com/defining-your-own-python-
function/
Q 1: Write a function to calculate the area of a circle 

given its radius.

Q 2: Create a function to check if a number is prime.

Q 3: Implement a function that reverses a given string.
7
0 Given a list of numbers, create a function to find the sum
of all positive numbers
0 Write a Python function to check if a given string is a
palindrome
-0 Implement a function that returns the factorial of a given
number using recursion
0 Create a function to find the square of each element in a
given list
0 Write a function to check if a number is even or odd and
return Even or Odd accordingly
0 Calculate the area of a triangle given its base and height
using a function
0 Create a function that takes a list of strings and returns
the list sorted alphabetically
0 Write a function that takes two lists and returns their
intersection (common elements)
0 Implement a function to check if a given year is a leap
year or not
 0 Create a function that takes a number as input and prints
its multiplication table.
8
05
Day
Learn about common string operations and formatting.
, W3Schools Python Strings: https://www.w3schools.com/
python/python_strings.as
, Real Python Python String Formatting: https://
realpython.com/python-string-formatting/
Q 1: Create a program that checks if a given string is a 

palindrome.

Q 2: Write a function to count the number of vowels in a 

given string.

Q 3: Write a function to count the number of vowels in a 

given string.
9
%' Given a list of words, concatenate them into a single
string separated by spaces
' Create a function to reverse a given string
' Write a program that takes a sentence as input and
counts the number of words in it
' Implement a function that checks if a given string is a
pangram (contains all letters of the alphabet)
*' Given a string, write a function to remove all vowels from
it and return the modified string
' Write a Python program to find the length of the longest
word in a sentence
' Create a function that takes a sentence as input and
returns the sentence in reverse order
' Given a list of names, count the number of names that
start with a vowel
' Write a function to remove all duplicate characters from a
given string
% ' Implement a program that takes a sentence and a word as
input and checks if the word is present in the sentence.
10
06
Day
Understand lists and tuples in Python and their operations.
) W3Schools Python Lists: https://www.w3schools.com/
python/python_lists.as
) Real Python Lists and Tuples: https://realpython.com/
python-lists-tuples/
Q 1: Given a list of numbers, find the sum and average using 

built-in functions.

Q 2: Create a list of fruits and add a new fruit to the list.

Q 3: Access elements in a tuple using indexing.
11
* Given two lists of numbers, concatenate them into a
single list$
* Write a program that finds the largest and smallest
elements in a list$
* Implement a function that takes a list of numbers and
returns a new list with the squared values$
* Create a program that finds the common elements
between two lists and stores them in a new list$
,* Given a list of words, find the word with the maximum
length and its length$
* Write a Python program to count the occurrences of each
element in a given list$
* Given a list of names, remove all duplicate names and
print the unique names$
* Create a function that takes a list of strings and returns
the list sorted by the length of the strings$
* Write a program that checks if a given list is sorted in
ascending order$
 * Implement a function that takes two lists and returns their
union (all unique elements from both lists).
12
07
Day
Understand dictionaries and sets in Python and their
operations.
( W3Schools Python Dictionaries: https://
www.w3schools.com/python/python_dictionaries.as
( Real Python Dictionaries and Sets: https://
realpython.com/python-dicts/
Q 1: Create a dictionary to store information about a person 

(name, age, address).

Q 2: Add a new key-value pair to an existing dictionary.

Q 3: Create a set of unique numbers from a list of numbers.
13
'* Given two dictionaries, merge them into a single
dictionary
* Write a program that finds the most frequent element in a
list
* Implement a function that removes a key-value pair from
a dictionary
* Create a program that checks if two sets have any
elements in common
+* Given a list of dictionaries, find the dictionary with the
highest value for a specific key
* Write a Python program that counts the number of
occurrences of each character in a given string using a
dictionary
* Given two sets, find the union, intersection, and
difference between them
* Create a function that takes a list of dictionaries and sorts
them based on a specified key
* Write a program that finds the average value of all the
elements in a list of dictionaries
' * Implement a function that takes a list of strings and
returns a set of unique characters present in all strings.
14
Why

Bosscoder?
750+
136% hike
2 out of 3
24LPA.
Alumni placed at Top
Product-based companies.

More than for every 

working professional.

Average package of
.
Explore More
15
08
Day
Learn about reading and writing files in Python.
2 W3Schools Python File Handling: https://
www.w3schools.com/python/python_file_handling.as
2 Real Python Read and Write Files: https://realpython.com/
read-write-files-python/
Q 1: Write a program that reads a text file and prints its 

contents.

Q 2: Create a new text file and write some content into it.

Q 3: Read a CSV file and process its data.
16
0 Write a Python program to copy the contents of one text
file into another2
0 Given a CSV file with student names and scores, find the
student with the highest score2
0 Implement a program that reads a text file and counts the
number of words and lines in it2
0 Create a function that takes a list of sentences and writes
them to a new text file, each on a new line2
0 Given a CSV file with employee details (name, age,
salary), calculate the average salary of all employees2
0 Write a program that reads a CSV file and finds the total
sales revenue for a specific product2
0 Given a text file with a list of numbers, write a function
that finds the sum of all numbers in the file2
0 Implement a program that reads a CSV file and generates
a bar chart to represent the data using Matplotlib2
0 Write a function that reads a JSON file and extracts
specific information from it2
 0 Given a CSV file with temperature data for each day of
the week, find the average temperature for each day.
17
09
Day
Introduce Object-Oriented Programming (OOP) concepts in
Python.
7 W3Schools Python Classes: https://www.w3schools.com/
python/python_classes.as)
7 Real Python Python OOP: https://realpython.com/
python3-object-oriented-programming/
Q 1: Create a class to represent a basic calculator with add, 

subtract, multiply, and divide methods.

Q 2: Create a class to represent a book with attributes like 

title, author, and publication year.

Q 3: Define a class for a Circle with methods to calculate its 

area and circumference.
18
) Create a class to represent a Student with attributes like
name, age, and grades3
) Given a CSV file with employee details (name, position,
salary), create a class to represent an Employee3
) Implement a program that simulates a basic bank account
using a BankAccount class3
) Write a Python program that uses a Rectangle class to
calculate the area and perimeter of a rectangle3
) Create a class to represent a Car with attributes like
make, model, and year3
) Given a JSON file with customer data, create a Customer
class to store and manipulate the data3
) Write a program that uses a Person class to keep track of
a person's name, age, and address3
) Implement a program that uses a Circle class to calculate
the area and circumference of multiple circles3
,) Given a CSV file with product details (name, price,
quantity), create a Product class to manage the data3
 ) Create a class to represent a Movie with attributes like
title, director, and rating.
19
10
Day
Understand inheritance and encapsulation in Object-
Oriented Programming.
/ W3Schools Python Inheritance: https://
www.w3schools.com/python/python_inheritance.as
/ Real Python Inheritance and Composition: https://
realpython.com/inheritance-composition-python/
Q 1: Create a base class Animal with a method sound() and 

create derived classes Dog and Cat with their own 

sound().

Q 2: Implement a class hierarchy to represent different types 

of vehicles (Car, Bike) with their own attributes and 

methods.

Q 3: Create a class Person with private attributes and define 

methods to get and set the values of those attributes.
20
6 Create a base class Shape with methods to calculate area
and perimeter, and derive classes Circle and Square0
6 Implement a class hierarchy to represent different types
of employees (Manager, Engineer) with their attributes0
36 Write a Python program that uses inheritance to
represent a hierarchy of shapes (Triangle, Rectangle,
etc.)0
6 Create a class hierarchy to represent different types of
animals (Bird, Fish) with their own attributes and
methods0
6 Given a JSON file with product details (name, price,
quantity), create a Product class with encapsulated
attributes0
6 Implement a program that uses inheritance to represent a
hierarchy of vehicles (Car, Bike, Truck, etc.)0
6 Write a Python program that uses encapsulation to
protect sensitive information in a User class.
21
+ Create a class hierarchy to represent different types of
electronics (Phone, Laptop) with their attributes(
 Given a CSV file with employee details (name, position,
salary), create an Employee class with private attributes(
  Implement a program that uses inheritance to represent a
hierarchy of shapes (Circle, Triangle, Rectangle, etc.).
22
11
Day
Introduction to NumPy for numerical computing in Python.
- NumPy Official Website: https://numpy.org(
- NumPy Quickstart Tutorial: https://numpy.org/doc/stable/
user/quickstart.html
Q 1: Create a NumPy array from a Python list and perform 

basic operations like addition, multiplication, etc.

Q 2: Generate a NumPy array of random numbers and 

calculate its mean, median, and standard deviation.

Q 3: Create a NumPy array and reshape it into a different 

shape.
23
Given a list of numbers, create a NumPy array and find
the sum and product of its elements$
 Implement a program that generates a NumPy array with
numbers from 0 to 9 and reshapes it into a 3x3 matrix$
/ Write a Python program that uses NumPy to find the
mean, median, and standard deviation of a dataset$
 Create a function that takes a list of numbers and returns
the NumPy array sorted in ascending order$
3 Given a list of lists, create a 2D NumPy array and find the
sum of elements in each row and column$
 Implement a program that generates a random NumPy
array and finds the maximum and minimum values$
 Write a function that takes a NumPy array and returns a
new array with all elements squared$
2 Given a NumPy array, calculate the dot product of the
array with itself$
 Create a program that uses NumPy to calculate the
inverse of a 2x2 matrix$
  Implement a function that takes a NumPy array and
returns the transpose of the array.
24
12
Day
Introduction to Pandas for data manipulation and analysis in
Python.
0 Pandas Official Website: https://pandas.pydata.org
0 Pandas Getting Started: https://pandas.pydata.org/docs/
getting_started/index.html
Q 1: Create a Pandas Series from a Python list and perform 

basic operations like filtering, sorting, etc.

Q 2: Read a CSV file into a Pandas DataFrame and perform 

basic data manipulation operations.

Q 3: Create a Pandas DataFrame from a dictionary and 

perform filtering and grouping operations.
25
2 Given a CSV file with student details, read it into a Pandas
DataFrame and find the average age of students,
2 Implement a program that generates a Pandas Series with
dates and filter it to get dates in a specific range,
/2 Write a Python program that uses Pandas to read a CSV
file and find the maximum and minimum values in each
column,
2 Create a function that takes a Pandas DataFrame and
returns a new DataFrame with rows sorted in ascending
order,
2 Given a Pandas DataFrame, filter the rows to include only
the rows where a specific column meets a condition,
2 Implement a program that reads a CSV file into a Pandas
DataFrame and calculates the sum of a specific column,
2 Write a function that takes a Pandas DataFrame and adds a
new calculated column to the DataFrame,
2 Given a Pandas DataFrame, group the data by a specific
column and calculate the mean of another column,
2 Create a program that reads a JSON file into a Pandas
DataFrame and extracts specific information from it,
 2 Implement a function that takes a Pandas DataFrame and
returns the transpose of the DataFrame.
26
13
Day
Learn how to create data visualizations using Matplotlib and
Seaborn in Python.
7 Matplotlib Official Website: https://matplotlib.org!
7 Seaborn Official Website: https://seaborn.pydata.org/
Q 1: Create a simple line plot using Matplotlib to visualize a 

series of data points.

Q 2: Generate a scatter plot using Matplotlib to visualize the 

relationship between two variables.

Q 3: Create a bar plot using Seaborn to compare the 

categories in a dataset.
27
1 Given a Pandas DataFrame, create a line plot to visualize
the trend of a specific column over time)
1 Implement a program that generates a histogram using
Matplotlib to visualize the distribution of data)
.1 Write a Python program that uses Seaborn to create a
scatter plot matrix for multiple variables in a DataFrame)
1 Create a function that takes a Pandas DataFrame and
generates a box plot to visualize the distribution of data)
21 Given a CSV file with sales data, use Matplotlib to create
a bar plot to compare the sales of different products)
1 Implement a program that reads a JSON file into a Pandas
DataFrame and uses Seaborn to create a violin plot)
1 Write a function that takes a Pandas DataFrame and
generates a pair plot to visualize the relationships
between variables.
28
($ Given a Pandas DataFrame, create a pie chart using
Matplotlib to visualize the distribution of data in a specific
column
$ Create a program that reads a CSV file into a Pandas
DataFrame and uses Seaborn to create a swarm plot for
data visualization
$ Implement a function that takes a Pandas DataFrame and
generates a heatmap using Seaborn to visualize the
correlation between variables.
29
14
Day
Learn how to clean and preprocess data for analysis in
Python.
/ Data Cleaning with Python and Pandas: https://
realpython.com/python-data-cleaning-numpy-pandas
/ Data Preprocessing with Scikit-Learn: https://scikit-
learn.org/stable/modules/preprocessing.html
Q 1: Remove missing values from a Pandas DataFrame.

Q 2: Convert categorical variables into numerical values 

using Label Encoding.

Q 3: Scale numerical features using Min-Max Scaling.
30
0 Given a Pandas DataFrame, remove duplicate rows and
reset the index of the DataFrame
0 Implement a program that reads a CSV file into a Pandas
DataFrame and handles missing values using Imputation
-0 Create a function that takes a Pandas DataFrame and
converts text data into numerical values using One-Hot
Encoding
0 Given a Pandas DataFrame, normalize the numerical
features using Z-Score Normalization
10 Write a Python program that uses Scikit-Learn to perform
data standardization on a dataset
40 Implement a program that reads a JSON file into a Pandas
DataFrame and handles outliers using Winsorization
0 Create a function that takes a Pandas DataFrame and
removes irrelevant features using Feature Selection
techniques.
31
'- Given a CSV file with customer details, preprocess the
data for further analysis (e.g., handle missing values, scale
features)$
- Write a Python program that uses Scikit-Learn to perform
data transformation using PCA (Principal Component
Analysis)$
- Implement a function that takes a Pandas DataFrame and
performs data discretization on a numerical feature.
32
15
Day
Introduction to the basics of Machine Learning in Python.
1 Scikit-Learn Official Website: https://scikit-learn.org/
stable
1 Machine Learning Basics: https://scikit-learn.org/stable/
getting_started.html
Q 1: Split data into training and testing sets using Scikit-

Learn.

Q 2: Train a Linear Regression model using Scikit-Learn.

Q 3: Evaluate the performance of a model using accuracy 

score.
33
8 Given a CSV file with data about customers (features) and
their churn status (target), split the data into training and
testing sets2
8 Implement a program that uses Scikit-Learn to train a
Decision Tree classifier on a dataset2
58 Write a Python program that uses Scikit-Learn to perform k-
fold cross-validation on a dataset2
8 Create a function that takes a Pandas DataFrame and trains
a Random Forest classifier on the data2
8 Given a CSV file with data about student scores (features)
and their grades (target), split the data into training and
testing sets2
(8 Implement a program that uses Scikit-Learn to train a
Support Vector Machine (SVM) classifier on a dataset2
8 Write a Python program that uses Scikit-Learn to perform
hyperparameter tuning using Grid Search on a dataset2
%8 Create a function that takes a Pandas DataFrame and trains
a k-nearest neighbors (KNN) classifier on the data2
8 Given a CSV file with data about housing prices (features)
and their labels (target), split the data into training and
testing sets2
8 Implement a program that uses Scikit-Learn to train a Naive
Bayes classifier on a dataset.
34
Why

Bosscoder?
750+
136% hike
2 out of 3
24LPA.
Alumni placed at Top
Product-based companies.

More than for every 

working professional.

Average package of
.
Explore More

More Related Content

PDF
Chapter 8 nucleotides Biochemistry
PPTX
Class 11 chapter 1 ppt
PDF
Sickle cell anemia
PDF
Learning Keys , Lehninger's Chapter # 7 Carbohydrates (Polysaccharides)
PPT
Enzyme kinetics
PDF
Chapter 7 carbohydrate Biocjemistry
PPTX
Oncoplastic breast surgery
PPTX
Diabetes Mellitus
Chapter 8 nucleotides Biochemistry
Class 11 chapter 1 ppt
Sickle cell anemia
Learning Keys , Lehninger's Chapter # 7 Carbohydrates (Polysaccharides)
Enzyme kinetics
Chapter 7 carbohydrate Biocjemistry
Oncoplastic breast surgery
Diabetes Mellitus

Similar to Master Python in 15 Days.pdf (20)

PPTX
lakshya's ppt python for final final.pptx
PPTX
Python fundamentals
PDF
علم البيانات - Data Sience
PPTX
Automation Testing theory notes.pptx
PPTX
Introduction on basic python and it's application
PPTX
Python (Data Analysis) cleaning and visualize
PPTX
Looping in PythonLab8 lecture slides.pptx
PPTX
Python with data Sciences
PPTX
Introduction to python
DOCX
Python interview questions and answers
PDF
Python_Unit_1.pdf
PDF
Python interview questions and answers
PDF
python-online&offline-training-in-kphb-hyderabad (1) (1).pdf
PPTX
unit (1)INTRODUCTION TO PYTHON course.pptx
PPT
Python for Engineers and Architects Stud
PPTX
PPT on Python - illustrating Python for BBA, B.Tech
PPTX
Pa1 session 2
PDF
Python interview questions
PPSX
Programming with Python
PDF
summer training report on python
lakshya's ppt python for final final.pptx
Python fundamentals
علم البيانات - Data Sience
Automation Testing theory notes.pptx
Introduction on basic python and it's application
Python (Data Analysis) cleaning and visualize
Looping in PythonLab8 lecture slides.pptx
Python with data Sciences
Introduction to python
Python interview questions and answers
Python_Unit_1.pdf
Python interview questions and answers
python-online&offline-training-in-kphb-hyderabad (1) (1).pdf
unit (1)INTRODUCTION TO PYTHON course.pptx
Python for Engineers and Architects Stud
PPT on Python - illustrating Python for BBA, B.Tech
Pa1 session 2
Python interview questions
Programming with Python
summer training report on python
Ad

Recently uploaded (20)

PDF
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
PPTX
Cell Types and Its function , kingdom of life
PDF
Computing-Curriculum for Schools in Ghana
PPTX
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PDF
RTP_AR_KS1_Tutor's Guide_English [FOR REPRODUCTION].pdf
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PPTX
Tissue processing ( HISTOPATHOLOGICAL TECHNIQUE
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PDF
Weekly quiz Compilation Jan -July 25.pdf
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
DOC
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
PDF
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
PPTX
Lesson notes of climatology university.
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PDF
01-Introduction-to-Information-Management.pdf
PDF
Microbial disease of the cardiovascular and lymphatic systems
PDF
O7-L3 Supply Chain Operations - ICLT Program
PPTX
GDM (1) (1).pptx small presentation for students
PDF
A systematic review of self-coping strategies used by university students to ...
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
Cell Types and Its function , kingdom of life
Computing-Curriculum for Schools in Ghana
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
Module 4: Burden of Disease Tutorial Slides S2 2025
RTP_AR_KS1_Tutor's Guide_English [FOR REPRODUCTION].pdf
FourierSeries-QuestionsWithAnswers(Part-A).pdf
Tissue processing ( HISTOPATHOLOGICAL TECHNIQUE
Supply Chain Operations Speaking Notes -ICLT Program
Weekly quiz Compilation Jan -July 25.pdf
Abdominal Access Techniques with Prof. Dr. R K Mishra
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
Lesson notes of climatology university.
STATICS OF THE RIGID BODIES Hibbelers.pdf
01-Introduction-to-Information-Management.pdf
Microbial disease of the cardiovascular and lymphatic systems
O7-L3 Supply Chain Operations - ICLT Program
GDM (1) (1).pptx small presentation for students
A systematic review of self-coping strategies used by university students to ...
Ad

Master Python in 15 Days.pdf

  • 1. Python M a s t e r Basic → Intermediate in 15 Days
  • 2. 01 Day Get acquainted with Python and set up the development environment. 1 Python Official Documentation: 
 https://www.python.org/doc6 1 Codecademy Python Course: 
 https://www.codecademy.com/learn/learn-python-3 Q 1: Write a Python program to print "Hello, World!" Q 2: Calculate the sum of two numbers entered by the user. Q 3: Convert temperature from Celsius to Fahrenheit. 1
  • 3. ") Write a Python program to calculate the area of a rectangle given its length and width+ ) Create a program that takes a user's name and age as input and prints a greeting message+ %) Write a program to check if a number is even or odd+ ) Given a list of numbers, find the maximum and minimum values+ ) Create a Python function to check if a given string is a palindrome+ ) Calculate the compound interest for a given principal amount, interest rate, and time period+ ) Write a program that converts a given number of days into years, weeks, and days+ ) Given a list of integers, find the sum of all positive numbers+ ) Create a program that takes a sentence as input and counts the number of words in it+ ) Implement a program that swaps the values of two variables. 2
  • 4. 02 Day Understand variables and different data types in Python. , W3Schools Python Variables: 
 https://www.w3schools.com/python/ python_variables.as , Real Python Data Types: 
 https://realpython.com/python-data-types/ Q 1: Create variables for storing a person's name, age, and 
 average test score. Q 2: Concatenate two strings and print the result. Q 3: Create a list of fruits and access elements using 
 indexing. 3
  • 5. (, Given a list of numbers, find the sum and average , Create a program that takes a temperature in Celsius and converts it to Kelvin ), Implement a program that checks if a given string is a palindrome , Create a function to reverse a given string #, Given a list of names, concatenate them into a single string separated by spaces , Write a Python program to check if a given string is a pangram (contains all letters of the alphabet) , Calculate the area and circumference of a circle given its radius , Implement a program that converts a given number of minutes into hours and minutes , Create a function to count the number of vowels in a given string ( , Write a program to check if a number is prime. 4
  • 6. 03 Day Learn about conditional statements and loops in Python. 1 W3Schools Python Conditions: 
 https://www.w3schools.com/python/ python_conditions.as$ 1 Real Python Python Loops: https://realpython.com/ python-for-loop/ Q 1: Write a program that checks if a given number is 
 positive, negative, or zero. Q 2: Create a loop that prints the first 10 even numbers. Q 3: Implement a program that finds the largest number
 in a list. 5
  • 7. 0 Create a program that takes a year as input and checks if it is a leap year or not) 0 Given a list of integers, find all the even numbers and store them in a new list) -0 Write a Python program to check if a given number is a prime number) 0 Create a program that generates the Fibonacci sequence up to a given number of terms) 0 Given a list of names, print all names starting with the letter 'A') 0 Implement a program that prints the multiplication table of a given number) 0 Write a program that calculates the factorial of a given number) 0 Create a loop that prints all prime numbers between 1 and 50) 0 Given a list of words, count the number of words with more than five characters) 0 Calculate the sum of digits of a given number. 6
  • 8. 04 Day Understand functions and how to define and call them. - W3Schools Python Functions: 
 https://www.w3schools.com/python/ python_functions.as# - Real Python Defining Functions: 
 https://realpython.com/defining-your-own-python- function/ Q 1: Write a function to calculate the area of a circle 
 given its radius. Q 2: Create a function to check if a number is prime. Q 3: Implement a function that reverses a given string. 7
  • 9. 0 Given a list of numbers, create a function to find the sum of all positive numbers 0 Write a Python function to check if a given string is a palindrome -0 Implement a function that returns the factorial of a given number using recursion 0 Create a function to find the square of each element in a given list 0 Write a function to check if a number is even or odd and return Even or Odd accordingly 0 Calculate the area of a triangle given its base and height using a function 0 Create a function that takes a list of strings and returns the list sorted alphabetically 0 Write a function that takes two lists and returns their intersection (common elements) 0 Implement a function to check if a given year is a leap year or not 0 Create a function that takes a number as input and prints its multiplication table. 8
  • 10. 05 Day Learn about common string operations and formatting. , W3Schools Python Strings: https://www.w3schools.com/ python/python_strings.as , Real Python Python String Formatting: https:// realpython.com/python-string-formatting/ Q 1: Create a program that checks if a given string is a 
 palindrome. Q 2: Write a function to count the number of vowels in a 
 given string. Q 3: Write a function to count the number of vowels in a 
 given string. 9
  • 11. %' Given a list of words, concatenate them into a single string separated by spaces ' Create a function to reverse a given string ' Write a program that takes a sentence as input and counts the number of words in it ' Implement a function that checks if a given string is a pangram (contains all letters of the alphabet) *' Given a string, write a function to remove all vowels from it and return the modified string ' Write a Python program to find the length of the longest word in a sentence ' Create a function that takes a sentence as input and returns the sentence in reverse order ' Given a list of names, count the number of names that start with a vowel ' Write a function to remove all duplicate characters from a given string % ' Implement a program that takes a sentence and a word as input and checks if the word is present in the sentence. 10
  • 12. 06 Day Understand lists and tuples in Python and their operations. ) W3Schools Python Lists: https://www.w3schools.com/ python/python_lists.as ) Real Python Lists and Tuples: https://realpython.com/ python-lists-tuples/ Q 1: Given a list of numbers, find the sum and average using 
 built-in functions. Q 2: Create a list of fruits and add a new fruit to the list. Q 3: Access elements in a tuple using indexing. 11
  • 13. * Given two lists of numbers, concatenate them into a single list$ * Write a program that finds the largest and smallest elements in a list$ * Implement a function that takes a list of numbers and returns a new list with the squared values$ * Create a program that finds the common elements between two lists and stores them in a new list$ ,* Given a list of words, find the word with the maximum length and its length$ * Write a Python program to count the occurrences of each element in a given list$ * Given a list of names, remove all duplicate names and print the unique names$ * Create a function that takes a list of strings and returns the list sorted by the length of the strings$ * Write a program that checks if a given list is sorted in ascending order$ * Implement a function that takes two lists and returns their union (all unique elements from both lists). 12
  • 14. 07 Day Understand dictionaries and sets in Python and their operations. ( W3Schools Python Dictionaries: https:// www.w3schools.com/python/python_dictionaries.as ( Real Python Dictionaries and Sets: https:// realpython.com/python-dicts/ Q 1: Create a dictionary to store information about a person 
 (name, age, address). Q 2: Add a new key-value pair to an existing dictionary. Q 3: Create a set of unique numbers from a list of numbers. 13
  • 15. '* Given two dictionaries, merge them into a single dictionary * Write a program that finds the most frequent element in a list * Implement a function that removes a key-value pair from a dictionary * Create a program that checks if two sets have any elements in common +* Given a list of dictionaries, find the dictionary with the highest value for a specific key * Write a Python program that counts the number of occurrences of each character in a given string using a dictionary * Given two sets, find the union, intersection, and difference between them * Create a function that takes a list of dictionaries and sorts them based on a specified key * Write a program that finds the average value of all the elements in a list of dictionaries ' * Implement a function that takes a list of strings and returns a set of unique characters present in all strings. 14
  • 16. Why Bosscoder? 750+ 136% hike 2 out of 3 24LPA. Alumni placed at Top Product-based companies. More than for every 
 working professional. Average package of . Explore More 15
  • 17. 08 Day Learn about reading and writing files in Python. 2 W3Schools Python File Handling: https:// www.w3schools.com/python/python_file_handling.as 2 Real Python Read and Write Files: https://realpython.com/ read-write-files-python/ Q 1: Write a program that reads a text file and prints its 
 contents. Q 2: Create a new text file and write some content into it. Q 3: Read a CSV file and process its data. 16
  • 18. 0 Write a Python program to copy the contents of one text file into another2 0 Given a CSV file with student names and scores, find the student with the highest score2 0 Implement a program that reads a text file and counts the number of words and lines in it2 0 Create a function that takes a list of sentences and writes them to a new text file, each on a new line2 0 Given a CSV file with employee details (name, age, salary), calculate the average salary of all employees2 0 Write a program that reads a CSV file and finds the total sales revenue for a specific product2 0 Given a text file with a list of numbers, write a function that finds the sum of all numbers in the file2 0 Implement a program that reads a CSV file and generates a bar chart to represent the data using Matplotlib2 0 Write a function that reads a JSON file and extracts specific information from it2 0 Given a CSV file with temperature data for each day of the week, find the average temperature for each day. 17
  • 19. 09 Day Introduce Object-Oriented Programming (OOP) concepts in Python. 7 W3Schools Python Classes: https://www.w3schools.com/ python/python_classes.as) 7 Real Python Python OOP: https://realpython.com/ python3-object-oriented-programming/ Q 1: Create a class to represent a basic calculator with add, 
 subtract, multiply, and divide methods. Q 2: Create a class to represent a book with attributes like 
 title, author, and publication year. Q 3: Define a class for a Circle with methods to calculate its 
 area and circumference. 18
  • 20. ) Create a class to represent a Student with attributes like name, age, and grades3 ) Given a CSV file with employee details (name, position, salary), create a class to represent an Employee3 ) Implement a program that simulates a basic bank account using a BankAccount class3 ) Write a Python program that uses a Rectangle class to calculate the area and perimeter of a rectangle3 ) Create a class to represent a Car with attributes like make, model, and year3 ) Given a JSON file with customer data, create a Customer class to store and manipulate the data3 ) Write a program that uses a Person class to keep track of a person's name, age, and address3 ) Implement a program that uses a Circle class to calculate the area and circumference of multiple circles3 ,) Given a CSV file with product details (name, price, quantity), create a Product class to manage the data3 ) Create a class to represent a Movie with attributes like title, director, and rating. 19
  • 21. 10 Day Understand inheritance and encapsulation in Object- Oriented Programming. / W3Schools Python Inheritance: https:// www.w3schools.com/python/python_inheritance.as / Real Python Inheritance and Composition: https:// realpython.com/inheritance-composition-python/ Q 1: Create a base class Animal with a method sound() and 
 create derived classes Dog and Cat with their own 
 sound(). Q 2: Implement a class hierarchy to represent different types 
 of vehicles (Car, Bike) with their own attributes and 
 methods. Q 3: Create a class Person with private attributes and define 
 methods to get and set the values of those attributes. 20
  • 22. 6 Create a base class Shape with methods to calculate area and perimeter, and derive classes Circle and Square0 6 Implement a class hierarchy to represent different types of employees (Manager, Engineer) with their attributes0 36 Write a Python program that uses inheritance to represent a hierarchy of shapes (Triangle, Rectangle, etc.)0 6 Create a class hierarchy to represent different types of animals (Bird, Fish) with their own attributes and methods0 6 Given a JSON file with product details (name, price, quantity), create a Product class with encapsulated attributes0 6 Implement a program that uses inheritance to represent a hierarchy of vehicles (Car, Bike, Truck, etc.)0 6 Write a Python program that uses encapsulation to protect sensitive information in a User class. 21
  • 23. + Create a class hierarchy to represent different types of electronics (Phone, Laptop) with their attributes( Given a CSV file with employee details (name, position, salary), create an Employee class with private attributes( Implement a program that uses inheritance to represent a hierarchy of shapes (Circle, Triangle, Rectangle, etc.). 22
  • 24. 11 Day Introduction to NumPy for numerical computing in Python. - NumPy Official Website: https://numpy.org( - NumPy Quickstart Tutorial: https://numpy.org/doc/stable/ user/quickstart.html Q 1: Create a NumPy array from a Python list and perform 
 basic operations like addition, multiplication, etc. Q 2: Generate a NumPy array of random numbers and 
 calculate its mean, median, and standard deviation. Q 3: Create a NumPy array and reshape it into a different 
 shape. 23
  • 25. Given a list of numbers, create a NumPy array and find the sum and product of its elements$ Implement a program that generates a NumPy array with numbers from 0 to 9 and reshapes it into a 3x3 matrix$ / Write a Python program that uses NumPy to find the mean, median, and standard deviation of a dataset$ Create a function that takes a list of numbers and returns the NumPy array sorted in ascending order$ 3 Given a list of lists, create a 2D NumPy array and find the sum of elements in each row and column$ Implement a program that generates a random NumPy array and finds the maximum and minimum values$ Write a function that takes a NumPy array and returns a new array with all elements squared$ 2 Given a NumPy array, calculate the dot product of the array with itself$ Create a program that uses NumPy to calculate the inverse of a 2x2 matrix$ Implement a function that takes a NumPy array and returns the transpose of the array. 24
  • 26. 12 Day Introduction to Pandas for data manipulation and analysis in Python. 0 Pandas Official Website: https://pandas.pydata.org 0 Pandas Getting Started: https://pandas.pydata.org/docs/ getting_started/index.html Q 1: Create a Pandas Series from a Python list and perform 
 basic operations like filtering, sorting, etc. Q 2: Read a CSV file into a Pandas DataFrame and perform 
 basic data manipulation operations. Q 3: Create a Pandas DataFrame from a dictionary and 
 perform filtering and grouping operations. 25
  • 27. 2 Given a CSV file with student details, read it into a Pandas DataFrame and find the average age of students, 2 Implement a program that generates a Pandas Series with dates and filter it to get dates in a specific range, /2 Write a Python program that uses Pandas to read a CSV file and find the maximum and minimum values in each column, 2 Create a function that takes a Pandas DataFrame and returns a new DataFrame with rows sorted in ascending order, 2 Given a Pandas DataFrame, filter the rows to include only the rows where a specific column meets a condition, 2 Implement a program that reads a CSV file into a Pandas DataFrame and calculates the sum of a specific column, 2 Write a function that takes a Pandas DataFrame and adds a new calculated column to the DataFrame, 2 Given a Pandas DataFrame, group the data by a specific column and calculate the mean of another column, 2 Create a program that reads a JSON file into a Pandas DataFrame and extracts specific information from it, 2 Implement a function that takes a Pandas DataFrame and returns the transpose of the DataFrame. 26
  • 28. 13 Day Learn how to create data visualizations using Matplotlib and Seaborn in Python. 7 Matplotlib Official Website: https://matplotlib.org! 7 Seaborn Official Website: https://seaborn.pydata.org/ Q 1: Create a simple line plot using Matplotlib to visualize a 
 series of data points. Q 2: Generate a scatter plot using Matplotlib to visualize the 
 relationship between two variables. Q 3: Create a bar plot using Seaborn to compare the 
 categories in a dataset. 27
  • 29. 1 Given a Pandas DataFrame, create a line plot to visualize the trend of a specific column over time) 1 Implement a program that generates a histogram using Matplotlib to visualize the distribution of data) .1 Write a Python program that uses Seaborn to create a scatter plot matrix for multiple variables in a DataFrame) 1 Create a function that takes a Pandas DataFrame and generates a box plot to visualize the distribution of data) 21 Given a CSV file with sales data, use Matplotlib to create a bar plot to compare the sales of different products) 1 Implement a program that reads a JSON file into a Pandas DataFrame and uses Seaborn to create a violin plot) 1 Write a function that takes a Pandas DataFrame and generates a pair plot to visualize the relationships between variables. 28
  • 30. ($ Given a Pandas DataFrame, create a pie chart using Matplotlib to visualize the distribution of data in a specific column $ Create a program that reads a CSV file into a Pandas DataFrame and uses Seaborn to create a swarm plot for data visualization $ Implement a function that takes a Pandas DataFrame and generates a heatmap using Seaborn to visualize the correlation between variables. 29
  • 31. 14 Day Learn how to clean and preprocess data for analysis in Python. / Data Cleaning with Python and Pandas: https:// realpython.com/python-data-cleaning-numpy-pandas / Data Preprocessing with Scikit-Learn: https://scikit- learn.org/stable/modules/preprocessing.html Q 1: Remove missing values from a Pandas DataFrame. Q 2: Convert categorical variables into numerical values 
 using Label Encoding. Q 3: Scale numerical features using Min-Max Scaling. 30
  • 32. 0 Given a Pandas DataFrame, remove duplicate rows and reset the index of the DataFrame 0 Implement a program that reads a CSV file into a Pandas DataFrame and handles missing values using Imputation -0 Create a function that takes a Pandas DataFrame and converts text data into numerical values using One-Hot Encoding 0 Given a Pandas DataFrame, normalize the numerical features using Z-Score Normalization 10 Write a Python program that uses Scikit-Learn to perform data standardization on a dataset 40 Implement a program that reads a JSON file into a Pandas DataFrame and handles outliers using Winsorization 0 Create a function that takes a Pandas DataFrame and removes irrelevant features using Feature Selection techniques. 31
  • 33. '- Given a CSV file with customer details, preprocess the data for further analysis (e.g., handle missing values, scale features)$ - Write a Python program that uses Scikit-Learn to perform data transformation using PCA (Principal Component Analysis)$ - Implement a function that takes a Pandas DataFrame and performs data discretization on a numerical feature. 32
  • 34. 15 Day Introduction to the basics of Machine Learning in Python. 1 Scikit-Learn Official Website: https://scikit-learn.org/ stable 1 Machine Learning Basics: https://scikit-learn.org/stable/ getting_started.html Q 1: Split data into training and testing sets using Scikit-
 Learn. Q 2: Train a Linear Regression model using Scikit-Learn. Q 3: Evaluate the performance of a model using accuracy 
 score. 33
  • 35. 8 Given a CSV file with data about customers (features) and their churn status (target), split the data into training and testing sets2 8 Implement a program that uses Scikit-Learn to train a Decision Tree classifier on a dataset2 58 Write a Python program that uses Scikit-Learn to perform k- fold cross-validation on a dataset2 8 Create a function that takes a Pandas DataFrame and trains a Random Forest classifier on the data2 8 Given a CSV file with data about student scores (features) and their grades (target), split the data into training and testing sets2 (8 Implement a program that uses Scikit-Learn to train a Support Vector Machine (SVM) classifier on a dataset2 8 Write a Python program that uses Scikit-Learn to perform hyperparameter tuning using Grid Search on a dataset2 %8 Create a function that takes a Pandas DataFrame and trains a k-nearest neighbors (KNN) classifier on the data2 8 Given a CSV file with data about housing prices (features) and their labels (target), split the data into training and testing sets2 8 Implement a program that uses Scikit-Learn to train a Naive Bayes classifier on a dataset. 34
  • 36. Why Bosscoder? 750+ 136% hike 2 out of 3 24LPA. Alumni placed at Top Product-based companies. More than for every 
 working professional. Average package of . Explore More