You are on page 1of 16

COMPUTER

INVESTIGATRY
PROJECT

TOPIC:- CURRENCY CONVERTOR

NAME:- SUHAS.M
GRADE:- XI
INSTITUTION:- SHISHYA
BEML PUBLIC SCHOOL

1|Page
ACKNOWLEDGEMENT
I would like to express my deep sense of thanks
to my computer teacher as well as our principal
Mrs.Tejaswini Sankeshwar who gave me this
golden opportunity to do this wonderful project
on the topic “currency convertor” which also
helped me in doing a lot of research work and I
come across so many things, I am really
thankful to them.
Secondly I would like to extend my heartfelt
gratitude to parents, friends and others who
helped me a lot in finalizing this topic within the
limited time frame!

2|Page
Contents
INTRODUCTION....................................
.................................4
SYSTEM OBJECTIVE & AIM OF THE
PROJECT................6
LIBRARIES
USED........................................................
.........8
SOURCE
CODE.......................................................
...............9
OUTPUT
SCREENS.................................................
.............14

3|Page
BIBLIOGRAPHY.....................................
..............................15

4|Page
INTRODUCTION
A currency converter is software code that is
designed to convert one currency into another.
There are around 200+ different currencies used
in different countries around the world.
Conversion from one currency to another is a
very important endeavor especially when it
comes to marketing and travel. Currency
conversion system is implemented to reduce
human power to automatically recognize the
amount monetary value of currency and convert
it into the other currencies without human
supervision. The software interface that we are
proposing here could be used for various
currencies.
The purpose of this project is to convert one
currency (i.e Indian currency) into another
currency (i.e the user wished currency).
5|Page
6|Page
SYSTEM
OBJECTIVES & AIM
OF THE PROJECT
The core idea behind the convertor is
Estimating the value of goods or service
between two countries (i.e India and
other countries).

Project modules:-
First we type the value (or the amount) of
the Indian currency. Then we have a lot
of options as countries. We need to
choose one of them. Then the computer
converts the Indian rupees to the
respected currency, the user selected.
7|Page
The computer uses ‘float’ function, this
makes the user use only real numbers
with unlimited decimal places.

Software used:-
IDLE python 3.9(64-bit).

8|Page
LIBRARIES USED:-

1. tkinter

9|Page
SOURCE CODE:-
from tkinter import *

from tkinter import ttk

converter = Tk()

converter.geometry("700x275")

converter.title("Headache")

OPTIONS = {

"UAE (UAE Dirham’s)":20.11,

"United States (US Dollars)":74.01,

"Europe (Euros)":90.41,

"United Kingdom (Pound Sterling’s)":98.59,

"Canada (Can Dollars)":57.57,

"Australia (Australian Dollars)":55.64,

"Switzerland (Swiss Francs)":69.62,

"Denmark (Danish Krone)":12.15,

"Norway (Norwegian Krones)":8.53,

"Sweden (Swedish Kronas)":8.94,

"Hong Kong (HK Dollars)":9.51,

"Egypt (Egyptian Pound)":4.72,

"Japan (Yenes)":0.71,

"Russia ( Ruble)":0.98,

10 | P a g e
"Indonesia (Rupiahs)":0.005,

"Singapore (Singapore Dollars)":1,

"South Korean (South Korean Wong’s)":0.069,

"South Africa (South African Rand)":4.99,

"China (Yuan)":11.26,

"India (Indian Rupees)":1,

"Pakistan (rupee)":0.459,

"Sri Lanka (rupee)":0.39,

"Mexico (Mexican Peso)":3.67,

"Brazil (Brazilian Real)":14.388

def ok():

price = rupees.get()

answer = variable.get()

DICT = OPTIONS.get(answer,None)

converted = float(price)/float(DICT)

result.delete(1.0,END)

result.insert(INSERT,"Price In: ",INSERT,answer,INSERT," = ",

INSERT,converted)

appName = Label(converter,text="Currency",

font=("algerian",25,"bold"),fg="dark blue")

appName.grid(row=0,column=0,padx=10)

appName = Label(converter,text="Convertor",

font=("algerian",25,"bold"),fg="dark blue")

11 | P a g e
appName.grid(row=0,column=2,ipadx=10)

result= Text(converter,height=5,width=50,font=("arial",10),bd=5)

result.grid(row=5,columnspan=10,padx=3)

india = Label(converter,text="Choose Country:",

font=("Chiller",20,"bold"),fg="red")

india.grid(row=3,column=0)

rupees = Entry(converter,font=("calibri",20))

rupees.grid(row=2,column=1)

choice = Label(converter,text="Indian Rupees:",

font=("Chiller",20,"bold"),fg="red")

choice.grid(row=2,column=0)

variable = StringVar(converter)

variable.set(None)

option = OptionMenu(converter,variable,*OPTIONS)

option.grid(row=3,column=1,sticky="ew")

button = Button(converter,text="Convert",fg="yellow",

font=("Ink Free",20,"bold"),bg="red",command=ok)

button.grid(row=3,column=2)

mainloop()

12 | P a g e
13 | P a g e
14 | P a g e
OUTPUT SCREENS:-

15 | P a g e
BIBLIOGRAPHY:-
1. Computer Science textbook
By: Sumitha Arora
2. www.youtube.com/watch?
v=AyoK9XMg9qM

16 | P a g e

You might also like