example: print(timeit.timeit(cal_pi(100_0000),number=10000))
Because cal_PI function have parameters:
Modify to: print(timeit.timeit(lambda: cal_pi(100_0000),number=10000))
example: print(timeit.timeit(cal_pi(100_0000),number=10000))
Because cal_PI function have parameters:
Modify to: print(timeit.timeit(lambda: cal_pi(100_0000),number=10000))