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>
21 lines
217 B
Markdown
21 lines
217 B
Markdown
---
|
|
title: 布尔与逻辑关键字
|
|
---
|
|
|
|
# main
|
|
|
|
*`a` = True*
|
|
*`b` = False*
|
|
|
|
+ `a` and not `b`
|
|
> print text=ok
|
|
+ *
|
|
> print text=fail
|
|
|
|
*`probe` = 1*
|
|
|
|
+ None
|
|
> print text=none-truthy
|
|
+ *
|
|
> print text=none-falsy
|