The embodiment of the invention provides a motor and a vehicle, the motor comprises a
stator core and flat wire winding structures, the flat wire winding structures are wound on the
stator core through
stator slots, each stator slot is internally provided with n
layers of flat wire winding structures, each phase of the flat wire winding structures comprises a first part and a second part, the number of the
layers of the first part in the stator slot is a, and the number of the
layers of the second part in the stator slot is a. The number of the layers of the first part in the stator groove is a, the number of the layers of the second part in the stator groove is b, a is not equal to b, and each phase of flat wire winding structure is in each pole, the stator groove wound with the first part and the stator groove wound with the second part are staggered by y1 grooves, namely, the first part and the second part of each phase of the flat wire winding structure are relatively staggered by y1 grooves, and the equivalent
pitch y between the phase bands of the same-phase winding located under the two adjacent poles is equal to y0-y1, and the
pitch y is smaller than the pole distance y0, so that the flat wire winding structure is a short-distance winding, a good
torque ripple suppression effect is achieved when the motor runs, the back
electromotive force harmonic wave of the motor is reduced, and the performance of the motor is improved.