Unknown Error Class Keyerror Python Dictionary Syntax Python If Function