[Solved] Bad Request in Python

[ad_1]

maybe this will help

import requests

city = input("What is the name of the city?: ")
url= "http://api.openweathermap.org/data/2.5/weather?q={city}&appid=*************".format(city=city)
response = requests.get(url)
print(response)

2

[ad_2]

solved Bad Request in Python