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 06:30
What result from the passage of this amendment
Answers: 1
question
Computers and Technology, 22.06.2019 15:20
This os integrated the processing power of windows nt with the easy-to-use gui of windows 98. windows 2000 windows 3.11 windows for workgroups windowa millennium edition
Answers: 1
question
Computers and Technology, 22.06.2019 21:00
Simon says is a memory game where "simon" outputs a sequence of 10 characters (r, g, b, y) and the user must repeat the sequence. create a for loop that compares the two strings starting from index 0. for each match, add one point to userscore. upon a mismatch, exit the loop using a break statement. assume simonpattern and userpattern are always the same length. ex: the following patterns yield a userscore of 4: simonpattern: rrgbryybgy userpattern: rrgbbrybgy
Answers: 2
question
Computers and Technology, 23.06.2019 07:30
Which option allows you to view slides on the full computer screen?
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
World Languages, 28.09.2019 18:50
question
Computers and Technology, 28.09.2019 18:50
Questions on the website: 13722363