Ideally I'd like to do it with a list comprehension. Something like this
result = [(key, value)for key in dict.keys(), value in dict.values()]
but clearly that isn't the right format. Any suggestions?
This seems like what I want to do, but it doesn't work:
result = [(dict.keys[i], dict.values[i]) for i in range(1, len(dict))]