We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 787685c commit a9f4e71Copy full SHA for a9f4e71
chapter4/6-wikiHistories.py
@@ -35,7 +35,7 @@ def getCountry(ipAddress):
35
except HTTPError:
36
return None
37
responseJson = json.loads(response)
38
- return responseJson.get("country_code")
+ return responseJson["region_name"]
39
40
links = getLinks("/wiki/Python_(programming_language)")
41
0 commit comments