Do you have to program Lego mindstorms?

If you want it to do what you want it to do yes but I'd you don't use motors it easier but if you do it's a little more expensive