Your Cart
Loading
Only -1 left

Weather app .py

On Sale
$0.00
Free Download
Added to cart

This Python script calculates the average of four user-inputted temperatures and then categorizes the weather based on this average. If the average temperature is 30°C or higher, it outputs "Hot weather"; otherwise, it outputs "Moderate weather


output :

Enter temperature1: 25

Enter temperature2: 28

Enter temperature3: 31

Enter temperature4: 29


Moderate weather




You will get a PY (399B) file

Customer Reviews

There are no reviews yet.