Facebook
From Gamboge Camel, 1 Month ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 25
  1. degrees = int(input())
  2. time_of_days = input()
  3. outfit = ""
  4. shoes = ""
  5. if time_of_days == "Morning":
  6.     if 10 <= degrees <= 18:
  7.         outfit = "Sweatshirt"
  8.         shoes = "Sneakers"
  9.     elif 18 < degrees <= 24:
  10.         outfit = "Shirt"
  11.         shoes = "Moccasins"
  12.     else:
  13.         outfit = "T-shirt"
  14.         shoes = "Sandals"
  15. elif time_of_days == "Afternoon":
  16.     if 10 <= degrees <= 18:
  17.         outfit = "Shirt"
  18.         shoes = "Moccasins"
  19.     elif 18 < degrees <= 24:
  20.         outfit = "T-shirt"
  21.         shoes = "Sandals"
  22.     else:
  23.         outfit = "SwimSuit"
  24.         shoes = "Barefoot"
  25. elif time_of_days == "Evening":
  26.     if 10 <= degrees <= 18:
  27.         outfit = "Shirt"
  28.         shoes = "Moccasins"
  29.     elif 18 < degrees <= 24:
  30.         outfit = "Shirt"
  31.         shoes = "Moccasins"
  32.     else:
  33.         outfit = "Shirt"
  34.         shoes = "Moccasins"
  35.  
  36.  
  37.  
  38.  print(f"It's {degrees}, t your {outfit} and {shoes}.")