Approximating the sine function with Maclaurin Series using python

Have you ever wondered how your calculator can handle the sine, cosine and other operations that seems to be magically
evaluated? Certainly there are more than one way, and to be honest I actually don't know which one my calculator uses,
but here I will show one method that can compute a approximation of sine using python and a famous mathematical series.

The Maclourin Series

A Taylor series is a representation of a function as an infinite sum of terms that are calculated from the values of
the function's derivatives at a single point.² when the Taylor series in centered at 0
(a=0) it got a new name: Maclaurin series.

Solving it with python is simply a brute force task where you compute the series to the nth term necessary to get a
precise value. Since it can be hard to know how many terms will be necessary, I tweaked the example to keep computing
the series until it reaches a certain precision of the value provided by the math.sin() function from python default
library.