Oct-20-2020, 02:34 PM
I haven't got to those assignments lately which I'll ask my teacher again for help. I have also got into the clothing reccommendation app assignment and I have the instructions of it
Write a program that asks the user a series of
# questions about the weather. The intent is to
# make clothing recommendations, but this part of
# the code will focus on gathering the data.
# The questions you ask should cover the entire
# range of possible weather here in Fort Smith
# during the school year. You should get both
# numeric and string/boolean type data. Use infinite
# while loops and try/except to make sure the user
# enters data that your main program can use. Add
# comments so that another person can easily
# understand how your code is supposed to work
Write a program that asks the user a series of
# questions about the weather. The intent is to
# make clothing recommendations, but this part of
# the code will focus on gathering the data.
# The questions you ask should cover the entire
# range of possible weather here in Fort Smith
# during the school year. You should get both
# numeric and string/boolean type data. Use infinite
# while loops and try/except to make sure the user
# enters data that your main program can use. Add
# comments so that another person can easily
# understand how your code is supposed to work
temp = int(input("What is the temperature outside: ")) rain = input("Is it raining outside? ") while True: temp = int(input("Enter the temperature outside: "))I'm not sure if I did right or if i need to change something.