Mark As Completed Discussion

1. Currency or unit converter

If you are inclined towards computational programming, a kind of converter might be a fun project for you. Basically, this kind of app consists of objects featuring functions loaded with different kinds of conversion algorithms (unit, currency, or similar).

On the following link, you can see an example of a currency converter coded in Python and get an idea of how your app should be created.

1. Currency or unit converter

You will need to know the mathematical equation or rule for converting the desired value, and if you want it to work for many units/currencies, you will need to handle each conversion with separate functions. You can then call each function based on the users' choice from a parent function.

An example would be the following code:

PYTHON
OUTPUT
:001 > Cmd/Ctrl-Enter to run, Cmd/Ctrl-/ to comment