import os
import urllib2
import json
while True :
ip= raw_input ("what's the ip :")
url="http://ip-api.com/json/"
response = urllib2.urlopen(url + ip)
data = response.read()
values = json.loads(data)
print ("IP:" + values['query'])
print ("city:" + values['city'])
print ("ISP:" + values['isp'])
print ("COUNTRY:" + values['country'])
print ("region:" + values['region'])
print ("time zone:" + values['timezone'])
what should i add instead of these 2 ?
print ("latitude:" + values['lat'])
print ("longitude:" + values['lon'])
break