




'''simple docstring'''







def 		snake_case_				(_a      :				Optional[Any]	):
    UpperCAmelCase     			=						1
    UpperCAmelCase     			=						0
    UpperCAmelCase     			=						1
    UpperCAmelCase     			=						1
    UpperCAmelCase     			=						3
    UpperCAmelCase     			=						3
    UpperCAmelCase     			=						limit
    UpperCAmelCase     			=						0

    UpperCAmelCase     			=						''''''
    while counter != decimal + 1:
        if 4 * q + r - t < n * t:
            result += str(_a	)
            if counter == 0:
                result += "."

            if decimal == counter:
                break

            counter += 1
            UpperCAmelCase     			=						1_0 * (r - n * t)
            UpperCAmelCase     			=						((1_0 * (3 * q + r)) // t) - 1_0 * n
            q *= 1_0
            UpperCAmelCase     			=						nr
        else:
            UpperCAmelCase     			=						(2 * q + r) * l
            UpperCAmelCase     			=						(q * (7 * k) + 2 + (r * l)) // (t * l)
            q *= k
            t *= l
            l += 2
            k += 1
            UpperCAmelCase     			=						nn
            UpperCAmelCase     			=						nr
    return result





def 		snake_case_				():
    print(F"{calculate_pi(5_0	) = }"	)
    import doctest

    doctest.testmod()


if __name__ == "__main__":
   main()








from typing import TYPE_CHECKING

from ...utils import _LazyModule


lowerCamelCase		=						{'''tokenization_phobert''': ['''PhobertTokenizer''']}


if TYPE_CHECKING:
		from .tokenization_phobert import PhobertTokenizer

else:
		import sys

		lowerCamelCase		=						_LazyModule(__name__, globals()['''__file__'''], _import_structure, module_spec=__spec__)




