Can PyFlux doing For Loop?
Best Answer
-
Hello Jerome,
Yes you can use the for cycle.
From what I see from the image you shared, the problem could be the the syntax; indentation is required for the code lines in the loop.
You can find two very useful documents and more info in the Flux help, available from the supervisor, clicking on the question mark button at the top right (see image attached).
Regards,
Letizia
1
Answers
-
For example, I have try to introduce a term to sequentially change the time step.
I got this error.
0 -
Hello Jerome,
Yes you can use the for cycle.
From what I see from the image you shared, the problem could be the the syntax; indentation is required for the code lines in the loop.
You can find two very useful documents and more info in the Flux help, available from the supervisor, clicking on the question mark button at the top right (see image attached).
Regards,
Letizia
1