Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

They've been Turing-complete since they were introduced:

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


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: