t405.py 178 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 chr(97)
  8. print chr(97)=='a'