borntofrappe / scientific-computing-with-python

Projects to earn the "Scientific Computing with Python" certification on the freeCodeCamp curriculum.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Scientific Computing with Python

Notes and solutions to earn the Scientific Computing with Python certification on the FreeCodeCamp curriculum.

Assuming you have installed python execute the logic of the different projects as follows:

cd name-of-folder
python main.py

Arithmetic Formatter

   32      3801      45      123
+ 698    -    2    + 43    +  49
-----    ------    ----    -----

  32         1      9999      523
+  8    - 3801    + 9999    -  49
----    ------    ------    -----
  40     -3800     19998      474

Time Calculator

3:00 AM, Sunday (next day)

2:02 PM, Monday

12:03 PM

1:40 AM (next day)

12:03 AM, Thursday (2 days later)

7:42 AM (9 days later)

Budget App

973.96
*************Food*************
initial deposit        1000.00
groceries               -10.15
restaurant and more foo -15.89
Transfer to Clothing    -50.00
Total: 923.96
***********Clothing***********
Transfer from Food       50.00
                        -25.55
Total: 24.45
Percentage spent by category
100|
 90|
 80|
 70|
 60| o
 50| o
 40| o
 30| o
 20| o  o
 10| o  o  o
  0| o  o  o
    ----------
     F  C  A
     o  l  u
     o  o  t
     d  t  o
        h
        i
        n
        g

Polygon Area Calculator

50
26
Rectangle(width=10, height=3)
**********
**********
**********

81
5.656854249492381
Square(side=4)
****
****
****
****

8

Probability Calculator

Probability: 0.17666666666666667

About

Projects to earn the "Scientific Computing with Python" certification on the freeCodeCamp curriculum.


Languages

Language:Python 100.0%