Forma.ai interview question

Flatten a python dictionary .