subject

Can you help me with this code it is throwing up an error saying I am calling the function incorrectly
weather_print()

def weather_print()
weather = input("What is the weather?")

if weather == rainy:
print("On a rainy day, galoshes are appropriate footwear.")
elif weather == snowy:
print("On a snowy day, boots are appropriate footwear.")
elif weather == sunny:
print("On a sunny day, sandals are appropriate footwear.")
else:
print("Please choose Rainy, Sunny, or Snowy.")

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 11:40
Pthreads programming: create and terminate a thread write a c++ program that creates a thread. the main will display a message “hello world from the main”. the main will create a thread that will display a message “hello world from the thread” and then terminates with a call to pthread_exit()
Answers: 3
question
Computers and Technology, 23.06.2019 10:30
Would a ps4 wired controller work on an xbox one
Answers: 1
question
Computers and Technology, 23.06.2019 13:30
Drag the tiles to the correct boxes to complete the pairs. match the errors with their definitions. #name #value #ref when a formula produces output that is too lengthy to fit in the spreadsheet cell arrowright when you enter an invalid cell reference in a formula arrowright when you type text in cells that accept numeric data arrowright when you type in a cell reference that doesn’t exist arrowright reset next
Answers: 1
question
Computers and Technology, 23.06.2019 15:00
Plz ( which is an example of a good url?
Answers: 1
You know the right answer?
Can you help me with this code it is throwing up an error saying I am calling the function incorrect...
Questions
question
Mathematics, 01.06.2020 23:58
question
Mathematics, 01.06.2020 23:58
question
Mathematics, 01.06.2020 23:58
question
Mathematics, 01.06.2020 23:58
question
Social Studies, 01.06.2020 23:58
Questions on the website: 13722363