Advertisement
pavlinski78

Untitled

Nov 23rd, 2019
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.87 KB | None | 0 0
  1. degree=int(input())
  2. time=input()
  3. Outfit=""
  4. Shoes=""
  5. if time=="Morning":
  6.     if 10<=degree<=18:
  7.         Outfit=="Sweatshirts"
  8.         Shoes=="Sneakers"
  9.     elif 18<degree<=24:
  10.         Outfit == "Shirts"
  11.         Shoes == "Moccasins"
  12.     else:
  13.         Outfit == "Shirts"
  14.         Shoes == "Sandals"
  15. if time=="Afternoon":
  16.     if 10<=degree<=18:
  17.         Outfit == "Shirts"
  18.         Shoes == "Moccasins"
  19.     elif 18<degree<=24:
  20.         Outfit=="T-Shirt"
  21.         Shoes=="Sandals"
  22.     else:
  23.         Outfit=="Sweam Suit"
  24.         Shoes=="Sandals"
  25. else:
  26.     if 10<=degree<=24:
  27.         Outfit == "Shirts"
  28.         Shoes == "Moccasins"
  29.     elif 18<degree<=24:
  30.             Outfit == "Shirts"
  31.             Shoes == "Moccasins"
  32.     else:
  33.         Outfit == "Shirts"
  34.         Shoes == "Moccasins"
  35. print(f"It's {degree} degrees, get your {Outfit} and {Shoes}.")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement