Explanation:
When there's a flat, the note lowers from the natural note by a half-note (semitone), and when there's a sharp, the note is higher than the natural note by a half-note.