Any coding needed?

When we buy ardupilot do we need to write code? or we just connect it to other components and it flies?

No coding.
Some setup and autotune.
You should read upon it, lots of features and possibilities.

thanks so much. do you know of a step by step guide for a beginner for ardu pilot? i mean lets say i bought ardu pilot and motors and frame and esc and battery. now what? i need a guide to read… lots of things, just asking if you know anything good…