Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

The while statement loops on a code block as long as a condition is true.

The following code loops until n reaches the value 10:

()

As for the loop statement: