Shopee Interview Question

Flatten a python dictionary structure into a string.