python microproject
python microproject
Submitted- 2023-24
This micro-project work submitted in partial fulfillment of requirements for the award
of diploma in Computer Technology for subject "Programming With
Python(22616)".
Computer Engineering
Prof.S.K.Kharkate
SUBMITTED BY
Sr
no. Roll no. Name of Student Enrollment no.
1. 02 Ayush Rajendra Meshram 2101210413
DEPARTMENT OF COMPUTER ENGINEERING GOVERNMENT POLYTECHNIC,
BRAMHAPURI DIST CHANDRAPUR
This is to certify that the following student of this institute have carried out this micro-
project in work “Develop Currency Converter Using Python” Under the guidance of
Prof. S. K. Kharkate Lect. in the Department of Computer Engineering during the
session 2023-2024 This work has been in the partial fulfillment of the award for
Diploma in Computer Engineering from Maharashtra State Board of Technical
Education, Mumbai.
SUBMITTED BY
Sr no.
Roll no. Name of Student Enrollment no.
1. 02 Ayush Rajendra Meshram 2101210413
What is python?
https://youtu.be/B7qB62Msems?si=xbaqyVN5Brmfb0Px
A nested if-else statement in Python refers to the situation where one if-else
statement is placed inside another. This is useful when you need to evaluate
multiple conditions in a more complex manner.
https://youtu.be/9xiFcK3MRYA?si=8TgcwjjT8whkpT0F
5.0 Proposed methodology:
Algorithm:
The program begins by prompting the user to input the amount to be converted
(amount), the source currency code (Currency1), and the currency code
(currency2).
Step 3: Output
The program prints the result of the currency conversion based on the selected if-
elif branch. If none of the specified conditions match, it prints an error message
indicating that the user should enter valid information.
The else statement serves as a catch-all for cases where none of the specified
currency conversion conditions are met. It prints an error message suggesting that
the user should enter valid information.
The program execution ends after printing the result or error message. These steps
outline the process from the start to the end of the program, covering user input,
currency conversion, output, and handling invalid input
6.0Action plan:
Information search
2 and resource
collected
3 Discuss with
project guide
4 Implement part-A
Ayush Rajendra
Meshram
5 Implement Coding
6 Implement part-B
7 Submission of final
report
7.0Resource required:
Sr. Name of
no. resource/material specification Quantity Purpose
1. Laptop Asus 1 To make micro
project.
2. Book Python 1 To get
information- on
3. software Visual Studio 1 To develop the
program
Part :-B
“ Develop Currency Converter Using Python”
1.0 Rationale:-
The program begins by prompting the user to input the amount to be converted
(amount), the source currency code (Currency1), and the currency code (currency2).
The program uses a series of if-elif statements to check the combination of currency1
and currency2 and calculates the converted amount based on the specified exchange
rates.
Step 3: Output
The program prints the result of the currency conversion based on the selected if-elif
branch. If none of the specified conditions match, it prints an error message
indicating that the user should enter valid information.
The else statement serves as a catch-all for cases where none of the specified
currency conversion conditions are met. It prints an error message suggesting that the
user should enter valid information.
The program execution ends after printing the result or error message. These steps
outline the process from the start to the end of the program, covering user input,
currency conversion, output, and handling invalid input
6.0 Resource required:
Sr. Name of
no. resource/material specification Quantity Purpose
1. Laptop Asus 1 To make micro
project.
2. Book Python 1 To get
information- on
3. software Visual Studio 1 To develop the
program
1.
2.
3.
10.0 Application:-
1. Travel & Tourism
2. International Trade & Business
3. Economic & Financial Analysis
11.0 Reference:-
1. What is python?
https://youtu.be/zoHB5B9LdrY?si=pglk45epxwKz7hSX
2. What is nested if-else statement in python?
https://youtu.be/Onoa2T982Xo?si=0vn-97sqNsQNCHF2
12.0 Conclusion:-
This program efficiently facilitates currency conversion based on user input. It prompts
the user to input the amount to convert, the source currency code, and the target
currency code. With the rise of digital platforms and real-time exchange rate APIs,
currency conversion has become more accessible and efficient. However, fluctuations
in exchange rates can impact financial decisions, making it important to stay updated
with current rates. Overall, currency conversion is essential for economic growth,
global connectivity, and seamless financial transactions.