How to run the two motors at the same time on flotilla?

I tried to visit / searching any website that can solve my problem on Flotilla but no one works. I tried to find the same topic in this forum but no one have the same problem.

Please Help Me To Run The Motors At The Same Time :)
thanks :)

Are you using Rockpool, Python or Scratch?

I used python to my bot

You’ll need to connect the motors to known ports on the dock- for the sake of argument let’s say you have a motor in channels 1 and 2, then you can:

dock = flotilla.Client()
motor_left = dock.channel_one()
motor_right = dock.channel_two()