t303.py 122 B

123456789
  1. # test list comparisons
  2. l = [1,2,3,1]
  3. print l
  4. print l > l
  5. print l >= l
  6. print l == l
  7. print l != l
  8. print l <= l
  9. print l < l