Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- degrees = int(input())
- time_of_day = input()
- outfit = ""
- shoes = ""
- if time_of_day == "Morning":
- if 10 <= degrees <= 18:
- outfit = 'Sweatshirt'
- shoes = "Sneakers"
- elif 18 < degrees <= 24:
- outfit = "Shirt"
- shoes = "Moccasins"
- else:
- outfit = "T-shirt"
- shoes = "Sandals"
- elif time_of_day == "Afternoon":
- if 10 <= degrees <= 18:
- outfit = "Shirt"
- shoes = "Moccasins"
- elif 18 < degrees <= 24:
- outfit = "T-shirt"
- shoes = "Sandals"
- else:
- outfit = "Swim Suit"
- shoes = "Barefoot"
- else:
- outfit = "Shirt"
- shoes = "Moccasins"
- print(f'It\'s{degrees}degrees, get your{outfit} and {shoes}.')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement