Use + for parameters, ordered-list branches, backtick identifiers, and quoted strings with escapes. Add writeback and subtask host libs, optional parameter defaults, narrative-bold comment fix, and defer view execution until preset stdin is submitted. Co-authored-by: Cursor <cursoragent@cursor.com>
21 lines
221 B
Markdown
21 lines
221 B
Markdown
---
|
|
title: 布尔与逻辑关键字
|
|
---
|
|
|
|
# main
|
|
|
|
*`a` = True*
|
|
*`b` = False*
|
|
|
|
1. `a` and not `b`
|
|
> print text=ok
|
|
2. *
|
|
> print text=fail
|
|
|
|
*`probe` = 1*
|
|
|
|
1. None
|
|
> print text=none-truthy
|
|
2. *
|
|
> print text=none-falsy
|