* Added the algorithm to compute the time period of a simple pendulum
* imported g form scipy and changed doctests accordingly
* fixed formatting
* applied all suggested changes from code review
* Apply suggestions from code review
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Co-authored-by: Tianyi Zheng <tianyizheng02@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>