This website works better with JavaScript.
Home
Explore
Help
Sign In
E2L_Ivry
/
cours-python
Watch
5
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Add more comparisons
master
Dimitri Merejkowsky
6 years ago
parent
9d61253d6d
commit
87a73c7d4f
1 changed files
with
11 additions
and
0 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+11
-0
sessions/01.md
+ 11
- 0
sessions/01.md
View File
@@ -325,6 +325,17 @@ Note: `==` pour la comparaison, `=` pour l'assignation
>>> 2 + 2 >= 4
>>> 2 + 2 >= 4
True
True
---
# Comparaisons (3)
!pycon
>>> a = 2
>>> a < 2
False
>>> 1 < a < 3 # only in Python
True
---
---
# Non persistance
# Non persistance