Weather app .py
On Sale
$0.00
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