University of New Haven Weather Python Program Project To solve this problem, you need to understand the following Python concepts: files. Background Info

University of New Haven Weather Python Program Project To solve this problem, you need to understand the following Python concepts: files.

Background Information

Don't use plagiarized sources. Get Your Custom Essay on
University of New Haven Weather Python Program Project To solve this problem, you need to understand the following Python concepts: files. Background Info
For $10/Page 0nly
Order Essay

The input file for this assignment is weather.csv. It contains weekly weather data from 2016.

Assignment
Using weather.py (renamed according to the instructions above) as a starting point, supply the missing functions such that interaction with a user could produce this sample transcript.
The function coldest_temperature should find the minimum temperature recorded in the file. It should print this temperature, the location where it was recorded and the date when it was recorded. Match the output format that appears in the sample transcript exactly. Note: If the minimal temperature reading occurs more than once, print out the information associated with its first occurrence.
The function average_temperature is passed a location (e.g. Miles City, MT) that the user supplies. The function prints the number of average temperatures recorded for this location, as well as the average of these temperatures. Match the output format in the sample transcript. You may assume that the user enters the location in a valid format (e.g. city name, comma, space, state).
The function all_stations_by_state is passed the state (e.g. Montana) that receives reporting data from stations. The function finds and prints in alphabetical order the reporting stations that send their data to this state. Match the output format in the sample transcript.
Study the Weather CSV Library and develop a function of your own that corresponds to menu option 4. The function should be interesting, non-trivial and not a simple variation of one of the other functions. Modify the menu and main functions as appropriate.

*please see grading rubric attached

admin

Recent Posts

Economic Debate #3- Progressive Income Tax – The Homework Helper

Economic Debate- Progressive Income Tax For this Economic Debate, we are going to discuss the…

2 years ago

MKT 6120 – Marketing Management – Davis Learning Engagement #7

TOPIC: Going Global Discussion Thread 1 (initial post due Wednesday for full credit) Please note:…

3 years ago

jvjvjhvjhvhjvj

Assignment Topic This week will culminate in the creation of a narrated PowerPoint to create…

3 years ago

Students are supposed to select a technological organization of their choice.

The Assignment must be submitted on Blackboard (WORD format only) via allocated folder. Assignments submitted…

3 years ago

Increases the risk of wildfires

you need to post your 2-page information flier to share with your Final Project Group.…

3 years ago

Statistics for Technology management

discussion: Discuss the methods used at your company to measure and ensure quality products and…

3 years ago