Jailbroken iPhones have had this capability for years...not to say iOS is better, just that I'd expected this would happen...sooner?
That said, the Python distro on iOS is only 2.6-ish, not even 2.7, and there's no 3.x release there. It's not very useful but I guess I did use it a lot for learning back then.