I am having trouble with iterating a function in Python.
I am trying to output values following:
This is the program:
def calculate(x):
    if x == 1:
      return 1.414
    elif x >= 2:
          a = (calculate(x-1)**2 + (1/(calculate(x-1)**2)))**(0.5)
          return (a)
          calculate (x-1)
For some reason, it only calculates output (a) for the input of x given. It will not print the values of    input 1,2,3,4 ... x like I am trying to do.

 
    