What software provides a code editing environment on iPad?
A good code editor for iPad is Textastic. Its not free and sells for $10 at the AppStore.  It claims to have syntax highlighting for over 80 languages. If you want to program exclusively in Python, there is an app called Pythonista. This is more of an IDE than just a code editor.