Hacker News new | ask | show | jobs
by zahlman 337 days ago
They've been Turing-complete since they were introduced:

  $ py3.6
  >>> def arbitrary_code(): pass
  ... 
  >>> f"{exec('arbitrary_code()')}"
  'None'
  >>>