Leegality interview question

Hashmap in python and keyband Values of them