Julia 1.0 Programming Complete Reference Guide
上QQ阅读APP看书,第一时间看更新

Repeated evaluation

Julia has a for loop for iterating over a collection or repeating some code a certain number of times. You can use a while loop when the repetition depends on a condition, and you can influence the execution of both loops through break and continue.