Sanjivani K. B. P. Polytechnic: Under The Guidance of
Sanjivani K. B. P. Polytechnic: Under The Guidance of
Sanjivani K. B. P. Polytechnic: Under The Guidance of
POLYTECHNIC
KOPERGAON – 423603, DIST: AHMEDNAGAR
2023-2024
A
PROJECT REPORT
ON
Prof. S.B.JADHAV
SANJIVANI K. B. P. POLYTECHNIC
KOPERGAON, AHMEDNAGAR-423603
2023-2024
1
Sanjivani Rural Education Society’s
SANJIVANI K. B. P. POLYTECHNIC
DEPARTMENT OF COMPUTER TECHNOLOGY
2023-2024
CERTIFICATE
This is to certify that the Project report entitled
Submitted By
Under our supervision and guidance for partial fulfillment of the requirement for Diploma in Computer
Technology affiliated to Maharashtra State Board of Technical Education, Mumbai For academic year
2023- 2024
Prof.S.B.JADHAV
(Project guide) Prof. G.N.Jorvekar
(HOD)
2
ACKNOWLEDGEMENT
First and the foremost we, express my deep sense of gratitude, sincere and deep
sense of appreciation to project Guide Prof.S.B.JADHAV, Department of Computer
Technology, Sanjivani K.B.P. Polytechnic Kopargaon. Your availability at any time throughout
the year, valuable guidance, option, view, comments, critics, encouragement, and support
tremendously boosted this project work.
Lots of thanks to Prof. G.N. Jorvekar, head of Department Computer Technology
Department, for providing us the best support we ever had. We like to express my sincere
gratitude to Prof.A.R. Mirikar, principal Sanjivani K.B.P. Polytechnic, Kopargaon for
providing a great platform to complete the project within the schedule time.
We are also thankful to all the faculty members, computer Technology Department,
Sanjivani K.B.P. polytechnic, Kopargaon for giving comments for Improvement of work,
encouragement and help during completion of the project.
Last but not the least, we should say thanks from our bottom of heart to my Family
and Friends for their never ending love, help, and support in so many ways through all this
time.
Thank you so much.
3
INDEX
NO.
INTRODUCTION
1. 6
FLOWCHART OF PROGRAM
3. 8
PROGRAM
4. 9
OUTPUT
5. 11
CONCLUSION
6. 15
REFERENCE
7. 15
4
Micro-Project Proposal
Title: SIMPLE CALCULATOR SYSTEM
• Discussion about the topic guide and among the group members.
• Literature survey.
• Submission of project proposal.
• Information collection.
• Analysis of data.
• Compilation of content.
• Representation.
• Editing and revising the content.
• Report preparation
4.0.Abstract
Python is powerful programming language. It has efficient high-level data structures and a simple
but effective approach to object-oriented programming. Python code is simple, short, readable,
intuitive, and powerful, and thus it is effective for introducing computing and problem solving to
beginners. It's elegant syntax and dynamic typing, together with its interpreted nature, make it an
ideal language for scripting and rapid application development in many areas on most platforms.
5
1. INTRODUCTION
History of Python
Python was developed by Guido van Rossum in the late eighties and early nineties at the National
Research Institute for Mathematics and Computer Science in the Netherlands.
Python is derived from many other languages, including ABC, Modula-3, C, C++, Algol-68,
SmallTalk, and Unix shell and other scripting languages.
Python is copyrighted. Like Perl, Python source code is now available under the GNU General
Public License (GPL).
Python is now maintained by a core development team at the institute, although Guido van Rossum
still holds a vital role in directing its progress.
Python's features
Easy-to-learn − Python has few keywords, simple structure, and a clearly defined syntax. This
allows the student to pick up the language quickly. 6
Easy-to-read − Python code is more clearly defined and visible to the eyes.
Easy-to-maintain − Python's source code is fairly easy-tomaintain.
A broad standard library − Python's bulk of the library is very portable and cross-platform
compatible on UNIX, Windows, and Macintosh.
Interactive Mode − Python has support for an interactive mode which allows interactive testing
and debugging of snippets of code.
Portable − Python can run on a wide variety of hardware platforms and has the same interface on
all platforms.
Extendable − You can add low-level modules to the Python interpreter. These modules enable
programmers to add to or customize their tools to be more efficient.
Databases − Python provides interfaces to all major commercial databases.
GUI Programming − Python supports GUI applications that can be created and ported to many
system calls, libraries and windows systems, such as Windows MFC, Macintosh, and the X Window
system of Unix.
Scalable − Python provides a better structure and support for large programs than shell scripting.
6
2. TECHNOLOGIES & TOOLS
Software Used:
i. Visual Studio
ii. Languages Used: Python
iii. Python Extension
Hardware Used:
-CPU configuration
-Intel
-RAM 8 GB DDR2
Operating System:
-Windows 10
Future Scope:
i. This project will help the fast calculation of any two number.
ii. This project enable to calculate the large number given by user.
iii. Project will enable to see report regarding product and category.
iv. It is easy to maintain in future prospect.
7
3. FLOWCHART OF PROGRAM
8
4. PROGRAM
CODE:-
class Calculator():
def addition(self):
print("Addition is:",a + b)
def subtraction(self):
print("Subtraction is:",a-b)
def multiplication(self):
print("Multiplication is:",a*b)
def division(self):
print("Division is:",a/b)
def modulus(self):
print("Remainder is:",a%b)
def floordivision(self):
print("FloorDivison is:",a//b)
def exponent(self):
print("Exponent is:",a**b)
a=float(input("Enter first number:"))
b=float(input("Enter second number:"))
obj = Calculator()
choice = ('1. Add \n2. Sub \n3. Multiply \n4. Divide \n5. Modulus \n6. Floordivision \n7. Exponent')
print(choice)
choice=int(input("Enter your choice:"))
if choice==1:
print(obj.addition())
elif choice==2:
print(obj.subtraction())
elif choice==3:
print(obj.multiplication())
elif choice==4:
print(obj.division())
elif choice==5:
print(obj.modulus())
elif choice==6:
print(obj.floordivision())
elif choice==7:
print(obj.exponent())
else:
print(" Invalid choice")
9
5. OUTPUT
10
11
12
13
6. CONCLUSION
7. REFERENCE
https://www.w3schools.com/python/
https://www.tutorialspoint.com/python/.py/
https://www.codingninjas.com/
https://www.zapmeta.co.in/
14