Core: learn it Step 3 of 16 on the Python Developer roadmap

while loops

A while loop keeps going as long as its condition is true, which suits menus and 'keep asking until the answer is valid'. Make sure something inside the loop can eventually make the condition false, or it will never stop.

Learn it on JeliScript

More in Decisions and loops

See it on the Python Developer roadmap