Computers and Technology

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.")

answer
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 02:30, rodfam13716
If you turn on the lock alpha button , what happens
Answers: 1
image
Computers and Technology, 23.06.2019 07:50, madim1275
Most shops require the technician to enter a starting and ending time on the repair order to track the actual time the vehicle was in the shop and closed out by the office. this time is referred to as _ time ? a. comeback b. ro c. cycle d. lead
Answers: 1
image
Computers and Technology, 23.06.2019 09:30, Princessirisperez0
Given a link with a maximum transmission rate of 32.8 mbps. only two computers, x and y, wish to transmit starting at time t = 0 seconds. computer x sends filex (4 mib) and computer y sends filey (244 kib), both starting at time t = 0. statistical multiplexing is used, with details as follows packet payload size = 1000 bytes packet header size = 24 bytes (overhead) ignore processing and queueing delays assume partial packets (packets consisting of less than 1000 bytes of data) are padded so that they are the same size as full packets. assume continuous alternating-packet transmission. computer x gets the transmission medium first. at what time (t = ? ) would filey finish transmitting? give answer in milliseconds, without units, and round to one decimal places (e. g. for an answer of 0.013777 seconds you would enter "13.8" without the quotes)
Answers: 3
image
Computers and Technology, 24.06.2019 01:30, jadaroyval
Write a program that asks the user to enter the name of an input file. if the file does not exist, the program should prompt the user to enter the file name again. if the user types quit in any uppercase/lowercase combinations, then the program should exit without any further output.
Answers: 3
Do you know the correct answer?
Can you help me with this code it is throwing up an error saying I am calling the function incorrect...

Questions in other subjects:

Konu
Biology, 23.09.2021 19:20
Konu
Mathematics, 23.09.2021 19:20
Konu
Mathematics, 23.09.2021 19:20
Konu
Physics, 23.09.2021 19:20
Konu
Computers and Technology, 23.09.2021 19:20
Konu
Spanish, 23.09.2021 19:20