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 10:40
Nims is applicable to all stakeholders with incident related responsibilities. true or false
Answers: 1
question
Computers and Technology, 23.06.2019 13:10
What is domain name system (dns)? allows dynamic ip address allocation so users do not have to have a preconfigured ip address to use the network converts ip addresses into domains, or identifying labels that use a variety of recognizable naming conventions the efficient coexistence of telephone, video, and data communication within a single network, offering convenience and flexibility not possible with separate infrastructures the integration of communication channels into a single service
Answers: 2
question
Computers and Technology, 23.06.2019 18:30
Where can page numbers appear? check all that apply. in the header inside tables in the footer at the bottom of columns at the top of columns
Answers: 1
question
Computers and Technology, 24.06.2019 00:00
Which tool could be used to display only rows containing presidents who served two terms
Answers: 3
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
History, 05.02.2021 22:50
question
Mathematics, 05.02.2021 22:50
question
Mathematics, 05.02.2021 22:50
question
Mathematics, 05.02.2021 22:50
question
Mathematics, 05.02.2021 22:50
question
Social Studies, 05.02.2021 22:50
Questions on the website: 13722359