def getPiGosper(n):
mypi = piGenGosper()<EOL>result = []<EOL>if n > <NUM_LIT:0>:<EOL><INDENT>result += [next(mypi) for i in range(n)]<EOL><DEDENT>mypi.close()<EOL>return result<EOL>
Returns a list containing first n digits of Pi