Skip to content

Stevenchaosz/python-school

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

python-school

This repository is the one for python. TASK 1 A data logger records the temperature on the roof of a school twice a day, at midday and midnight. Input and store the temperatures recorded for a month. You must store the temperatures in two one-dimensional arrays, one for the midday temperatures and one for the midnight temperatures. All thetemperatures must be validated on entry and any invalid temperatures rejected. You must decide your own validation rules. You may assume that there are 30 days in a month.

TASK 2 Calculate the average temperature for midday and the average temperature for midnight. Output these averages with a suitable message for each one.

Task 3 Select the day with the highest midday temperature and the day with the lowest midnight temperature. Then output each of these temperatures, the corresponding day and a suitable message.

About

This repository is the one for python.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages