t204.py 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. print () == (1,)
  2. print () == ()
  3. print (1,) == (1,)
  4. print (1,2) == (3,4)
  5. print (1,2) == (1,2)
  6. print (1,2) == (1,)
  7. print (1,2) == (1,2,3)
  8. print (1,2,3) == (1,2)
  9. print (1,2,3) == (1,2,3)
  10. print
  11. print () != (1,)
  12. print () != ()
  13. print (1,) != (1,)
  14. print (1,2) != (3,4)
  15. print (1,2) != (1,2)
  16. print (1,2) != (1,)
  17. print (1,2) != (1,2,3)
  18. print (1,2,3) != (1,2)
  19. print (1,2,3) != (1,2,3)
  20. print
  21. print () < (1,)
  22. print () < ()
  23. print (1,) < (1,)
  24. print (1,2) < (3,4)
  25. print (1,2) < (1,2)
  26. print (1,2) < (1,)
  27. print (1,2) < (1,2,3)
  28. print (1,2,3) < (1,2)
  29. print (1,2,3) < (1,2,3)
  30. print
  31. print () > (1,)
  32. print () > ()
  33. print (1,) > (1,)
  34. print (1,2) > (3,4)
  35. print (1,2) > (1,2)
  36. print (1,2) > (1,)
  37. print (1,2) > (1,2,3)
  38. print (1,2,3) > (1,2)
  39. print (1,2,3) > (1,2,3)
  40. print
  41. print () <= (1,)
  42. print () <= ()
  43. print (1,) <= (1,)
  44. print (1,2) <= (3,4)
  45. print (1,2) <= (1,2)
  46. print (1,2) <= (1,)
  47. print (1,2) <= (1,2,3)
  48. print (1,2,3) <= (1,2)
  49. print (1,2,3) <= (1,2,3)
  50. print
  51. print () >= (1,)
  52. print () >= ()
  53. print (1,) >= (1,)
  54. print (1,2) >= (3,4)
  55. print (1,2) >= (1,2)
  56. print (1,2) >= (1,)
  57. print (1,2) >= (1,2,3)
  58. print (1,2,3) >= (1,2)
  59. print (1,2,3) >= (1,2,3)