Document (2) Ip
Document (2) Ip
Document (2) Ip
PYTHON
PROGRAMMING
AND MY SQL
Submitted to
By
SAVNI AGRAWAL
PGT (IP)
DECELERATION
We hereby declare that the project entitled Python Programming & SQL Queries is
The actual work carried out by us in the department of INFORMATICS PRACTICES
Under the guidance of Er. SANDEEP SAHU PGT (IP).
Principal
Highly respected and esteemed guide Er. Sandeep Sahu, PGT (IP/CS), Informatics Practices
Department, JCS School Sagar, for their valuable guidance, encouragement and help for
Completing this work. Their useful suggestions for this whole work and co-operative behavior are
Sincerely acknowledged.
I would like to express my sincere thanks to Mr. Pankaj Mukharya, Principal JCS
I also wish to express my gratitude’s to Mr. Joy Mukharya, Vice Principal JCS School Sagar
For his kind hearted support. I am also grateful to my teacher Mr. Sandeep Sahu PGT (IP) for
At the end I would like to express my sincere thanks to all my friends and others who helped me
OUTPUT
Age >=18 Yes
Age< 18. No
PROGRAM 3
Python program to calculate the largest of 3 number
given as input
OUTPUT
PROGRAM 4
Program to calculate square and cube of a number
given as input
INPUT
OUTPUT
PROGRAM 5
Python program to take input as a number and give
output a table
INPUT
OUTPUT
PROGRAM 6
Python script to take input for 2 numbers and an
operator (+ , – , * , / )and based on the operator
calculate the output
OUTPUT
PYTHON PANDAS
What is Pandas?
Pandas is a Python library used for working with data
sets.
Loading Dataframes
Joining and Merging Dataframes
Adding and Deleting Columns
Deleting Null Values
Analysis and Checking Data Types