Leibniz

  • + 0 comments

    [print(f"{sum(((-1)**i)/(2*i+1) for i in range(int(input()))):.15f}") for _ in range(int(input()))]