Skip to content

Commit c002f59

Browse files
matusvalosprytnyk
andauthored
Added chained-comparison message example (#6107)
Co-authored-by: Vladyslav Krylasov <vladyslav.krylasov@gmail.com>
1 parent e52875a commit c002f59

2 files changed

Lines changed: 10 additions & 0 deletions

File tree

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
a = int(input())
2+
b = int(input())
3+
c = int(input())
4+
if a < b and b < c: # [chained-comparison]
5+
pass
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
a = int(input())
2+
b = int(input())
3+
c = int(input())
4+
if a < b < c:
5+
pass

0 commit comments

Comments
 (0)