didn't python have something like `for key,value in dict`?