语法

while 条件 do
	需要重复执行的内容
end while;

示例

求1到n的和

image.png

历史 20240911_095839

image.png

image.png

image.png