Computer Science, asked by aakash38087, 9 months ago

Define a function weather and accept one parameter ‘temp’ to check whether the given temperature is greater than >25 the print message to turn on the fan else print the message its normal temperature.

Answers

Answered by Anonymous
0

Answer:

The definition it is clear that “ weather,” or the precise state. of the atmosphere at any time and place, must be regarded as a direct. function of the '' climate ” of the place at which it prevails. '' Weather,” briefly, is a function of “climate.”

Explanation:

Please Mark as Brainlist Answer

Answered by Anonymous
23

Answer:

<b><i><body bgcolor=pink><marquee direction="up"><font color=blue></b></i>

return res.json();

def print_weather(result,city):

print("{}'s temperature: {}°C ".format(city,result['main']['temp']))

print("Wind speed: {} m/s".format(result['wind']['speed']))

print("Description: {}".format(result['weather'][0]['description']))

print("Weather: {}".format(result['weather'][0]['main']))

def main():

city=input('Enter the city:')

print()

try:

query='q='+city;

w_data=weather_data(query);

print_weather(w_data, city)

print()

except:

print('City name not found...')

if __name__=='__main__':

main()

<body bgcolor=red><marquee direction="down"><font color=yellow>

30Ťhx + fΦ¦łÕw=INBOX

Follow meeee

<body bgcolor=red><marquee direction="down"><font color=yellow>

30Ťhx + fΦ¦łÕw=INBOX

Follow meeee

Similar questions