22 lines
239 B
Markdown
22 lines
239 B
Markdown
---
|
|
markup: occlusion
|
|
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
|