How to make a three way motor group with block code

You can, if using a gen 2 IQ brain (ie. Using blocks that generates Python)