Answer:
In modern notation, the key signature for music in a minor key is typically based on the accidentals of the natural minor scale, not on those of the harmonic or melodic minor scales. For example, a piece in E minor will have one sharp in its key signature because the E natural minor scale has one sharp (F♯).