Ip Project Rihan
Ip Project Rihan
obtained_marks):
return (obtained_marks /
total_marks) * 100
def calculate_simple_interest(principal,
rate, time):
return (principal * rate * time) / 100
def main():
while True:
print("\nChoose an option:")
print("1. Calculate Percentage")
print("2. Calculate Simple
Interest")
print("3. Addition")
print("4. Subtraction")
print("5. Multiplication")
print("6. Division")
print("7. Exit")
choice = input("Enter your choice
(1-7): ")
if choice == '1':
total = float(input("Enter total
marks: "))
obtained = float(input("Enter
obtained marks: "))
percentage =
calculate_percentage(total, obtained)
print(f"Percentage:
{percentage:.2f}%")
else:
print("Invalid choice! Please try
again.")
if __name__ == "__main__":
main()
ACKNOWLEDGMENT
I would like to express my sincere gratitude to
everyone who has helped me in the successful
completion of this Informatics Practices project.
First and foremost, I would like to thank my
subject teacher, [Miss Garima Singh], for their
invaluable guidance, continuous support, and
encouragement throughout the project. Their
insightful suggestions and expertise in the
subject have greatly contributed to my
understanding and learning.
I also extend my heartfelt thanks to my school,
[Amrita Public School], for providing the
necessary resources and a conducive learning
environment.
I am grateful to my parents and friends for their
unwavering support, motivation, and assistance
during the project. Their encouragement kept me
focused and dedicated.
Lastly, I would like to acknowledge the various
online and offline resources that provided me
with useful information to enhance my project.
This project has been a great learning
experience, and I truly appreciate all the help I
have received.
[Mohd Rihan]
Class 11 – B
[Amrita Public School]
CERTIFICATE
This is to certify that [MOHD RIHAN], a
student of Class 11, Section [B], has
successfully completed the Informatics
Practices project titled "[Project Title]" as
per the requirements of the [CBSE]
curriculum for the academic year [2024-
2025].
The project was carried out under my
guidance and supervision, and it is the
original work of the student.
I appreciate the effort and dedication put
into this project and wish [MOHD RIHAN]
all the best for future endeavors.
Signature of Student
[MOHD RIHAN]
Signature of Teacher
[MISS GARIMA SINGH]
(Informatics Practices Teacher)
Date: [ ]
Place: [AMRITA PUBLIC SCHOOL]
Introduction to Python
1. Percentage Calculation –
Computes the percentage based on
total and obtained marks.
1. User (Entity)
o Interacts with the system.
o Selects operations and provides
input values.
2. Operations (Entity)
o Attributes: operation_id,
operation_type
o Relationships:
A User performs one or
more Operations.
3. Calculations (Entity)
o Attributes:
calculation_id,
input_values, result
o Relationships:
An Operation generates
one or more Calculations.
ER Diagram Representation
sql
CopyEdit
+-----------+
+------------+
+-------------+
| User |------>|
Operations |------>|
Calculations |
+-----------+
+------------+
+-------------+
|
|
|
| Performs
| Generates
| Stores
v
v
v
(User Input) (Math
Operation
CONTENT
1. INTRODUCTION TO
PYTHON.
2. INTRODUCTION TO
TOPIC.
3. SOURCE CODE
4. ER DIAGRAM
5. OUTPUT
6. BIBLOGRAPHY
BIBLOGRAPHY
1. GOOGLE.COM
2. YOUTUBE
3. (INFORMATICS
PRACTICES)IP BOOK
4. PYTHON