Ich soll eine Eingabemöglichkeit des Stadtnamens hinzufügen.ich kann mit "input " funktion das machen ,aber ich weiß es nicht wo und wie ?
Viele Dank im voraus

Das Programm:
import urllib.request
import urllib.parse
import json
data = {}
data['q'] = 'Gelsenkirchen'
data['APPID'] ="4a48ca03578c3198f24b59bd2e2e60fd"
url_values = urllib.parse.urlencode(data)
print(url_values)
url = 'http://api.openweathermap.org/data/2.5/weather'
full_url = url + '?' + url_values
with urllib.request.urlopen(full_url) as response:
result = response.read()
parsed_result = json.loads(result)
city = parsed_result["name"]
temp=parsed_result["main"]["temp"]-273.15
print(f"In {city} hat es aktuell {temp:.2f}°C")