File size: 2,515 Bytes
3b524be
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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