If you are a tinkerer, love rebuilding and reloading your operating system, don’t mind hackerish interfaces and command line level on your PC or Mac, then Android.
If you want something that simply works, iPhone.
Either will come with Mama phone company’s restrictions until you strip them, so unless you’re going to go and strip them or have an known Android app you want, K.I.S.S.