Fix CI
This commit is contained in:
+6
-6
@@ -1,10 +1,10 @@
|
||||
# weather_utils.py
|
||||
|
||||
def get_weather_comment(temperature):
|
||||
|
||||
"""Возвращает текстовый комментарий и эмодзи в зависимости от температуры"""
|
||||
if temperature >= 25:
|
||||
return "Жара!"
|
||||
|
||||
return "Жара! ☀️"
|
||||
elif temperature <= 0:
|
||||
return "Дубак"
|
||||
|
||||
return "Дубак! ❄️"
|
||||
else:
|
||||
return "Норма"
|
||||
return "Нормальная погода ☁️"
|
||||
|
||||
Reference in New Issue
Block a user