from urllib.request import urlopen
url = "https://wttr.in/Wien?format=%t"
temperature = int(urlopen(url).read().decode().strip("°C"))
if temperature >= 20:
print("No jacket needed, enjoy the warm temperature")
elif temperature >= 10:
print("Light jacket recommended")
else:
print("It's freezing, you'll need a winter coat")