import requests def get_weather_data(city): url = f"http://api.openweathermap.org/data/2.5/weather?q={city}&appid=YOUR_API_KEY" response = requests.get(url) return response.json() def main(): city = input("Enter a city: ") weather_data = get_crypto_data(Address: ) print(crypto_data) if __name__ == "__main__": main() [flake8] max-line-length = 88 exclude = .git, __pycache__, *.egg-info, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg, *.egg