0% found this document useful (0 votes)
5 views5 pages

Python Programming Project Class12

This document outlines a Python programming project, including acknowledgments, a certificate of authenticity, and an introduction to Python. It covers key features, applications, syntax, variables, data types, operators, control structures, and several example programs demonstrating basic Python functionalities. The project concludes with reflections on the learning experience and a bibliography of resources used.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views5 pages

Python Programming Project Class12

This document outlines a Python programming project, including acknowledgments, a certificate of authenticity, and an introduction to Python. It covers key features, applications, syntax, variables, data types, operators, control structures, and several example programs demonstrating basic Python functionalities. The project concludes with reflections on the learning experience and a bibliography of resources used.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

Python Programming Project

Acknowledgement

I would like to express my special thanks to my teacher for guiding me and providing the opportunity to work

on this project. I also thank my parents and friends for their support.

Certificate

This is to certify that this project titled 'Python Programming' is the bonafide work of _______ of Class 12th,

submitted to ______ School.

Introduction to Python

Python is a high-level, interpreted programming language created by Guido van Rossum in 1991. It

emphasizes code readability with its notable use of significant indentation.

Features of Python

- Easy to Learn and Use

- Interpreted Language

- Dynamically Typed

- Portable

- Extensive Libraries

Applications of Python

- Web Development (Django, Flask)

- Data Science (Pandas, NumPy)

- Automation

- GUI Development
Python Programming Project

- Machine Learning

Python Syntax

Example:

print("Hello, World!")

Output:

Hello, World!

Variables and Data Types

Example:

name = "Riya"

age = 18

height = 5.6

is_student = True

Operators in Python

- Arithmetic: +, -, *, /

- Logical: and, or, not

- Relational: ==, !=, >, <

Control Structures

Example:

age = 18

if age >= 18:


Python Programming Project

print("Eligible to vote")

else:

print("Not eligible")

Functions in Python

def greet(name):

return "Hello " + name

print(greet("Ankit"))

Output:

Hello Ankit

Program 1: Sum of Two Numbers

a = 10

b = 20

sum = a + b

print("Sum:", sum)

Output:

Sum: 30

Program 2: Check Even or Odd

num = 7

if num % 2 == 0:

print("Even")

else:

print("Odd")
Python Programming Project

Output:

Odd

Program 3: Factorial

n=5

fact = 1

for i in range(1, n+1):

fact *= i

print("Factorial:", fact)

Output:

Factorial: 120

Program 4: Fibonacci Series

a, b = 0, 1

for _ in range(5):

print(a, end=' ')

a, b = b, a + b

Output:

01123

Program 5: Palindrome

s = "madam"

if s == s[::-1]:

print("Palindrome")

else:
Python Programming Project

print("Not Palindrome")

Output:

Palindrome

Program 6: Simple Calculator

a = 15

b=5

print("Add:", a + b)

print("Divide:", a / b)

Output:

Add: 20

Divide: 3.0

Conclusion

This project helped me understand the basics of Python programming. I practiced writing code, using logic,

and solving problems through Python.

Bibliography

- NCERT Book

- w3schools.com

- geeksforgeeks.org

- python.org

You might also like