Hi Guys,

I wrote a code in phyton and work perfectly in one platform call pythontutor(to learn python), but when I put the code in dynamo, he not work so well and show me other results,

Does someone know the problem??

pythontutor:

Dynamo:

The script:

```
from math import sqrt
Q = [[0.25,0.25,0.25,0.25,0.16,0.16],[0.25,0.25,0.25,0.25,0.19,0.16]]
D = [[21.6,21.6,21.6,17,17,1],[21.6,21.6,21.6,17,17,17]]
B = [17,21.6,27.8,35.2,44,53.4,66.6,97.8] #List Base.
def recalculate(a,b):
V = 4000*a/(b*b*3.1415)
Vaz = 14*sqrt((b/1000))
if V < 3 and V< Vaz:
return False
else:
return True
for i, list in enumerate(Q):
for j, number in enumerate(list):
a=recalculate(number, D[i][j])
if a==False:
print("OK")
else:
print("Recalculate")
aux=0
while True:
b=recalculate(number, B[aux])
if b==False:
break
else:
aux+=1
D[i][j]=B[aux]
OUT = D
```