Mapped strings doubt

how can i correct my code?