Skip to content

Kipkirui70/alx_be_python

Repository files navigation

weather_advice.py

Prompt user for input

weather = input("What's the weather like today? (sunny/rainy/cold): ").lower()

Conditional checks

if weather == "sunny": print("Wear a t-shirt and sunglasses.") elif weather == "rainy": print("Don't forget your umbrella and a raincoat.") elif weather == "cold": print("Make sure to wear a warm coat and a scarf.") else: print("Sorry, I don't have recommendations for this weather.")

About

python introduction

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages