We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 04c886c commit 13ac15aCopy full SHA for 13ac15a
1 file changed
WeatherNotification/main.py
@@ -14,3 +14,7 @@
14
r.raise_for_status()
15
weather_data = r.json()
16
17
+id_weather_list = weather_ids = [x["weather"][0]["id"] for x in weather_data["list"] if x["weather"][0]["id"] < 700]
18
+
19
+if len(id_weather_list) >= 1:
20
+ print("Bring an umbrella")
0 commit comments