Skip to content

atwalsh/flask-compound-interest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

flask-compound-interest

A flask introduction app that calculates compound interest.

Before you start:

  1. Get Python 3.7.0 installed (pyenv makes it easy)
  2. Get PyCharm installed
  3. Install flask (look up how to use Pipenv)

FYI -- HTML templates are using Bootstrap to make elements look nice.


Objectives

  1. Build a compound interest calculator. Figure out how to:

    1. Read input from form.html into flask route.
    2. Write a function to calculate compound interest.
    3. Display the result on the form page.

I have created the form page, follow the web address printed to the terminal when you run the app.

Run the Flask app:

python app.py

Useful links

http://flask.pocoo.org/docs/latest/

https://www.thecalculatorsite.com/articles/finance/compound-interest-formula.php

Solution is on the solution branch

Releases

No releases published

Packages

No packages published