There have been many questions asking for variations on how to write Pi but none are like this...
EDIT: There are many questions asking for the nth digit of Pi, I am asking for UPTO the nth digit.
The Objective: Quite simple on writing, create a programme that takes a input, I will call it n and outputs Pi to the nth digits.
Rules: Normal code golf rules apply, your code may not have Pi anywhere in it. This is code-golf so the shortest answer in bytes
Hints: It is not necessary to use this, but it may help: https://www.math.hmc.edu/funfacts/ffiles/30001.1-3.shtml where Pi/4 = 1 - 1/3 + 1/5 - 1/7 + ...
This is my first post on codegolf, so any comments on things to improve will be well appreciated.