Implement a tiny stdin-driven KV store.
Read commands from stdin, one per line. Commands:
SET key value
GET key -> print value, or "none" if missing
DEL key -> delete key (no output)
End on EOF.
Test input:
SET name Ada
SET city London
GET name
DEL name
GET name
Expected output:
Ada
none
Sign in to save your code and track progress across devices.