###### tags: `nactf`
# world trip(300)
- 檔案為各城市經緯地址
- 
```python=
from geopy.geocoders import Nominatim
geolocator = Nominatim(user_agent="jame234s2")
locations = ""
with open("enc.txt") as f:
locations = f.read()
loclist = locations[1:][:-1].split(")(")
# print(loclist)
output = [geolocator.reverse((loc),language="en-gb").raw["address"]["country"] for loc in loclist]
print(output)
flag = "nactf{"
for country in output:
flag = flag + country[0]
flag = flag + "}"
print(flag)
```