From 87a73c7d4fd37ad056c55868436ab97dd460f3b2 Mon Sep 17 00:00:00 2001 From: Dimitri Merejkowsky Date: Sat, 24 Nov 2018 11:37:36 +0100 Subject: [PATCH] Add more comparisons --- sessions/01.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/sessions/01.md b/sessions/01.md index 392f840..d869c47 100644 --- a/sessions/01.md +++ b/sessions/01.md @@ -325,6 +325,17 @@ Note: `==` pour la comparaison, `=` pour l'assignation >>> 2 + 2 >= 4 True +--- + +# Comparaisons (3) + + !pycon + >>> a = 2 + >>> a < 2 + False + >>> 1 < a < 3 # only in Python + True + --- # Non persistance