25 lines
353 B
Markdown
25 lines
353 B
Markdown
---
|
|
markup: occlusion
|
|
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**
|
|
|
|
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
|