Commit 4b0d8ff5 authored by Kevin Modzelewski's avatar Kevin Modzelewski

Minor reorganization

parent 7f2d28c7
......@@ -69,3 +69,8 @@ for i in xrange(2):
print max(C(""), 2)
print C("hi") > 1
print C("") > 1
print (1, 2) < (1, 3)
print (1, 4) < (1, 3)
print [1, 2] < [1, 3]
print {1:2} < {1:3}
# expected: fail
# - chained comparisons
# - "in" and "not in"
def f(n):
print "f(%d)" % n
return n
f(1) <= f(2) < f(3)
for i in xrange(1, 4):
print i in range(6), i not in range(5)
print (1, 2) < (1, 3)
print (1, 4) < (1, 3)
print [1, 2] < [1, 3]
print {1:2} < {1:3}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment