'sequential step using loop

How do I write the code for sequential step using loop? although NHA doesn't have value except for two row. so, I want to use second row in NHA, first. and then I want to fill the value in NHA using function, second line.

for i in range(1, 201): 
NHA_4_pd = NHA.shift() // NHA_3_pd
NHA = NHA.shift() - NHA_2_pd * PD_Mor_a0 * NHA_4_pd ** PD_Mor_a1

PD_Mor_a0 and PD_Mor_a1 are the coefficients.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source