Forma.ai Interview Question

How to flatten a python dictionary