A coil comprising: a series of turns constituted by a first turn to an n-th turn of a conductive wire having a quadrangular cross-section, where n is an integer equal to or greater than 3, the conductive wire being wound in a spiral shape and being stacked in a vertical direction; and a deformed part provided on at least a part of the conductive wire of the first turn to the n-th turn, the deformed part having a shape different from shapes of other parts, wherein the first turn and the n-th turn are positioned on both end parts of the series of turns, at each of the first turn and the n-th turn, the deformed part makes an outer surface positioned on an opposite side with respect to a center of the series of turns extend in a flush manner along a plane intersecting the series of turns, the deformed part is provided on the part of each of the second turn and the n-th turn of the conductive wire, wherein the coil further includes lead out parts respectively provided on the first turn and the n-th turn of the coil and the second turn to the n-th turn are each wound in a rectangular shape in a planar view and are each constituted by four coil sides; characterized in that the coil side, of the second turn, intersecting the respective lead-out part has a cross-sectional area larger than the cross-sectional areas of the other coil sides and the coil side, of the n-th turn, intersecting the respective lead-out part has a cross-sectional area larger than the cross-sectional area of the other coil sides; and in that the deformed part includes: a first notch provided on the coil side of the second turn intersecting the respective lead out part in such a manner that a part of the first turn is housed in the first notch ; and a second notch provided on the coil side of the n-th turn intersecting the respective lead out part in such a manner that a part of the n-th turn is housed in the second notch . a series of turns constituted by a first turn to an n-th turn of a conductive wire having a quadrangular cross-section, where n is an integer equal to or greater than 3, the conductive wire being wound in a spiral shape and being stacked in a vertical direction; and a deformed part provided on at least a part of the conductive wire of the first turn to the n-th turn, the deformed part having a shape different from shapes of other parts, wherein the first turn and the n-th turn are positioned on both end parts of the series of turns, at each of the first turn and the n-th turn, the deformed part makes an outer surface positioned on an opposite side with respect to a center of the series of turns extend in a flush manner along a plane intersecting the series of turns, the deformed part is provided on the part of each of the second turn and the n-th turn of the conductive wire, wherein the coil further includes lead out parts respectively provided on the first turn and the n-th turn of the coil and the second turn to the n-th turn are each wound in a rectangular shape in a planar view and are each constituted by four coil sides; characterized in that a first notch provided on the coil side of the second turn intersecting the respective lead out part in such a manner that a part of the first turn is housed in the first notch ; and a second notch provided on the coil side of the n-th turn intersecting the respective lead out part in such a manner that a part of the n-th turn is housed in the second notch . <EOS>