If you're worried about variable name collision from your many loops, I'd predict your function is too big anyways.
You can add location information to your Tweets, such as your city or precise location, from the web and via third-party applications. You always have the option to delete your Tweet location history. Learn more
If you're worried about variable name collision from your many loops, I'd predict your function is too big anyways.