Files
marqdo/public/structure/05-loop.mq.md
T
cflmyandCursor 96a7c6ce76 Consolidate layout: tests fixtures, public user docs, and view site.
Move gold samples under tests/, put executable user docs in public/, restyle view, and add catalog plus gh-pages publish workflow.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-04 14:49:44 +08:00

325 B

title, description
title description
循环 条件循环与表格遍历

main

函数体内的 - 是循环(不是形参)。

倒数:

n = 3

  • n > 0

    print text=n n = n - 1

遍历篮子(表格是集合):

篮子 =

果
苹果
梨
  • 果

    print text=今天吃果