Python Return Key Value Pair Example