How to code motors to make a full 360?

so like I have no idea how to code my robot to turn. like I got the forward and backward but I cant figure out how to make it spin.

Spin one side one way, and spin the other side the other way. For example you might have the left two motors or one motor spin forwards, and the right two or just one spin backwards. This would make your robot spin towards the right or in a clockwise direction.

Depending on how many millimeters or inches you’re using on each side they cold be converted to degrees or you could just find bench mark numbers like 200 mm would equal 90 degrees. So 800 mm would equal 360 degrees.