Skip to content

Starter repo for task 1 of the JPMC software engineering program

Notifications You must be signed in to change notification settings

Fawaz-Khan-R/forage-jpmc-swe-task-1

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JPMC Task 1

Starter repo for task 1 of the JPMC software engineering program

Changes implemented:

There were 3 functions that were changed to perform as required. The functions are:

  • getDataPoint()

The getDataPoint() was changed to include the correct formula for "price".

  • getRatio()

The getRatio() was changed to include an escape condition in case price_b had 0 as its value. (ZeroDivisionError)

  • main()

We include a dict() to store the right values for the getRatio() so that the correct values for the stock prices can be printed.

About

Starter repo for task 1 of the JPMC software engineering program

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%