Struggling to understand how to save the variables separately and I'm pulling my hair out trying to understand how to use these statements properly Im aware with how bad this looks so far but here is the horrid code halfway worked on im currently stuck on making the program recognize the weather_type and use it within the if-else statements if someone could tell me why my code looks so dumb, and also works dumb i would appreatiate it, I AM SUPER new so i appologize if it is the most basic fix but i have looked forever and i can't find what im looking for. Below is the disgusting code half finnished. Please forgive my in-experiance.
''' #Intitalize variables
temp, weater_type, wind speed.
temp = int(input("What is the temperature? (Fehrenheit only) "))
weather_type = str(input("What is the weather like? (Sunny, Rainy, Snowy) "))
rainy = "Rainy"
sunny = "Sunny"
snowy = "Snowy"
Rainy = "rainy"
Sunny = "sunny"
Snowy = "snowy"
wind_speed = int(input("What is the wind speed? (Knots only) "))
if temp <= 40 and wind_speed >=17:
print("Wear a coat and scarf, it's windy outside. ")
elif temp <= 40 :
print("Wear something warm, it's cold outside. ")
elif weather_type == "Snowy":
print("Wear a coat, scarf, and some mittens, it's a winter wonderland out there. ")
elif temp >= 40 and temp <= 70 and weather_type == "Sunny":
print("Wear a light jacket and some jeans, it's gonna be a nice day! ")
elif temp >= 70 and weather_type == "Sunny":
print("Wear a t-shirt and some shorts, it's a hot one! ")
elif temp <=90 and weather_type == "Rainy":
print("It is currently raining outside, wear a rain coat and some waterproof shoes. ")
elif temp >= 40 and temp <= 85:
print("Wear whatever feels nice, no bad weather in sight.")
else:
print("Program incomplete.")
input = (print("Press enter to continue.")) '''