English/Chinese user pages sit side by side; L0 builtins and lib/ text|表 dual APIs land with gold coverage. Capture/view input demos use stdin:/输入: so static export and first page load succeed. Co-authored-by: Cursor <cursoragent@cursor.com>
24 lines
325 B
Markdown
24 lines
325 B
Markdown
---
|
|
title: Booleans and logic
|
|
description: True / False / None and and / or / not
|
|
---
|
|
|
|
# main
|
|
|
|
Keywords: `True`, `False`, `None`, and `and` / `or` / `not`.
|
|
|
|
*`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
|