Python翻转字典,以及解决IndentationError: expected an indented block报错!

NoSuchKey