This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "https://raw.githubusercontent.com/jsonresume/resume-schema/v1.0.0/schema.json", | |
"basics": { | |
"name": "Joshua Salako", | |
"label": "Data Scientist", | |
"image":"https://www.gravatar.com/avatar/02d4fbd7a5cca7043fdccbae375e7bbf.png?s=400", | |
"summary": "I’m a Data Scientist. I'm generally very flexible when investigating new roles.", | |
"website": "https://ceptive.wordpress.com", | |
"email": "[email protected]", | |
"location": { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def compute_pi(n): | |
""" | |
This function calculates the value of pi to 'n' number of decimal places | |
Args: | |
n: precision(Decimal places) | |
Returns: | |
pi: the value of pi to n-decimal places | |
""" | |
decimal.getcontext().prec = n + 3 |