Python Forum
Help on stimulating approaching an object
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help on stimulating approaching an object
#6
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

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.
Reply


Messages In This Thread
RE: Help on stimulating approaching an object - by javesike1262 - Oct-20-2020, 02:34 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020