convert a dictionary `dict` into a list with key and values as list items.,[y for x in list(dict.items()) for y in x]