IDE or Texteditor - is Drafts for me?

You can look at some options here:

Textastic or Coda might be a good choice for you.

Another option might be Pythonista.