testturing.py 167 B

12345678910111213
  1. def halts(prog):
  2. #
  3. # .....
  4. return False
  5. def turing():
  6. if halts(turing):
  7. while True:
  8. pass
  9. else:
  10. pass
  11. turing()