Question: Convert to sequence form

I want to use for do loop and the print statement. print(h, AA) gives two columns left for h and right for AA separeted by comma. How to change this two column presentation so that I can get the sequence of h and sequence of AA. Note that print(h) and print(AA) gives two separate columns. But I want to convert print(h, AA).

 

for h from 0.01 by .1 to 5 do
AA := (1+h)/h^2;
print(h, AA) end do:

Please Wait...