Y
Hacker News
new
|
ask
|
show
|
jobs
by
elternal_love
335 days ago
Oh am I writing python code for some years this should be fun ... oh. Oh I see. Hmm. Ok, just give it to me: are they turing complete yet or do we need to wait for 3.14?
1 comments
zahlman
335 days ago
They've been Turing-complete since they were introduced:
$ py3.6 >>> def arbitrary_code(): pass ... >>> f"{exec('arbitrary_code()')}" 'None' >>>
link