0% found this document useful (0 votes)
6 views7 pages

Python Salary Calculation with Allowances

The document outlines a Python program for calculating employee salaries, considering various allowances like house rent and travel. It describes the process of storing employee data, calculating allowances, and printing final salary details, while also suggesting potential extensions for the program. Additionally, it includes acknowledgments for support received during the project and a certificate of completion.
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)
6 views7 pages

Python Salary Calculation with Allowances

The document outlines a Python program for calculating employee salaries, considering various allowances like house rent and travel. It describes the process of storing employee data, calculating allowances, and printing final salary details, while also suggesting potential extensions for the program. Additionally, it includes acknowledgments for support received during the project and a certificate of completion.
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

TOPIC INTRODUCTION

When calculating an employee’s salary, the final amount is not always the same
for everyone. Some employees may receive different allowances such as house
rent allowance (HRA), travel allowance, or bonuses, while others may receive
only a basic salary. In Python, this can be handled as follows:

Store each employee’s name, basic salary, and allowance percentage.

Calculate the allowance for each employee.

Add the allowance to the basic salary to get the final salary.

Each employee is stored as a tuple: (name, basic_salary, allowance_rate).

The program loops through the list and calculates the allowance using
allowance = basic_salary × allowance_rate / 100.

The allowance is added to the basic salary, and the total salary is calculated.

The program prints the salary details for each employee and then displays the
final amounts.

This method can be further extended by:

Adding deductions such as tax or provident fund.

Calculating yearly salaries from monthly salaries.

Storing employee data in a file or database.

This example demonstrates how Python can be used to calculate salaries with
different allowances in a clear and structured way.
BIBLIOGRAPHY

1. [Link]

2. [Link]

[Link]

[Link] computer science


class 11
CONCLUSION
This project helped me understand Python
programming and develop logical thinking
for creating a functional calculator. It
enhanced my knowledge of functions,
conditionals, loops, exception handling,
and GUI development using Tkinter.
Overall, the project successfully meets all
the intended objectives.
Acknowledgement

I sincerely thank my computer lab instructor, [Link], for the


guidance and support provided during the completion of my
school computer project. Her assistance was invaluable in
helping me understand the topic and enhance my skills.

I would also like to express my heartfelt gratitude to my family


for their constant encouragement and support at every stage of
this project. The knowledge and experience gained will
certainly help me overcome future challenges.

I feel honoured to have the opportunity to present my work to


my classmates and take pride in contributing to the academic
environment. The support received from everyone mentioned
above has been truly meaningful, for which I am deeply
grateful.
CERTIFICATE
MADE BY KRISHNA BHAGWAT
KRISHNAIYA AND PRATYUSH
SALUJA

[Link] [Link] [Link] Sharma


(SUBJECT {principal}
{examination
TEACHER)
coordinator}

You might also like