I am trying to print the location of a set of tweets.
It is a list with ten dictionaries. I want the location of all ten to be displayed. When I use range it takes just one value. tweets
is the list with ten dictionaries. statuses
is the key and geo
is the object which has the coordinates of the tweet.
for j in range (0,9):
st1 = tweets[j]['statuses'][j]['geo']
print(j,st1)