-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path2_Summer_outfit.py
More file actions
32 lines (29 loc) · 841 Bytes
/
Copy path2_Summer_outfit.py
File metadata and controls
32 lines (29 loc) · 841 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
degrees = int(input())
day_time = input()
outfit = " "
shoes = " "
#три възможности "Morning", "Afternoon" или "Evening".
if day_time == "Morning":
if 10 <= degrees <= 18 :
outfit = "Sweatshirt"
shoes = "Sneakers"
elif 18 <= degrees <= 24 :
outfit = "Shirt"
shoes = "Moccasins"
else:
outfit = "T-Shirt"
shoes = "Sandals"
elif day_time == "Afternoon":
if 10 <= degrees <= 18 :
outfit = "Shirt"
shoes = "Moccasins"
elif 18 <= degrees <= 24 :
outfit = "T-Shirt"
shoes = "Sandals"
else:
outfit = "Swim Suit"
shoes = "Barefoot"
elif day_time == "Evening":
outfit = "Shirt"
shoes = "Moccasins"
print(f"It's {degrees} degrees, get your {outfit} and {shoes}.")