t419.py 195 B

123456789
  1. correct = True
  2. for x in range(256):
  3. if x != ord(chr(x)):
  4. print x
  5. correct = False
  6. print "chr and ord are inverses: ",correct
  7. print "ord('a') = ",ord('a')
  8. print ord('a') == 97