Skip to content

Instantly share code, notes, and snippets.

@dance2die
Created February 16, 2022 03:36
Show Gist options
  • Select an option

  • Save dance2die/a64d8ca47c9a664bd36a41f567700ad2 to your computer and use it in GitHub Desktop.

Select an option

Save dance2die/a64d8ca47c9a664bd36a41f567700ad2 to your computer and use it in GitHub Desktop.

Revisions

  1. dance2die created this gist Feb 16, 2022.
    12 changes: 12 additions & 0 deletions Conditional.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,12 @@
    1. Compare numbers in a sequence.
    e.g.

    ```python
    # ok
    3 > 2 > 1
    1 < 2 < 3
    # not
    1 < 3 > 2
    # not
    2 > 1 and 1 < 3
    ```