Question: Using python, output the zip codes where the cheapest houses are: file opened properly (Use the median_listing_price_per_zipcode.csv file) Each line is converted to a list
Using python, output the zip codes where the cheapest houses are: file opened properly (Use the median_listing_price_per_zipcode.csv file) Each line is converted to a list or tuple that only contains relevant info Each line-list/tuple is added to a list (list of lists or lists of tuples) 5 Zip codes with cheapest median listing prices are found and printed. Also, print the median price beside those zip codes 5 zip codes with the cheapest housing AND also have a farmers market in the same zip code are found and printed. Also, print the median price beside those zip codes. write these 10 results to a file called idealplaces.txt. The program should do the searching. However, I cant upload the CSV files to Chegg, This link directs you to the needed CSV files for the assignment. https://pythonprogramming.sharefile.com/d-sc524ec5b06243689 https://pythonprogramming.sharefile.com/d-s1426aa369c14d2ba For example: CHEAP HOUSES: 5 Cheapest places: 12345 $70000 23456 $72000 34567 $75000 45678 $75500 56789 $77000 5 Cheapest places with farmer's markets: 09876 $85000 98765 $86500 87654 $87000 76543 $88000 65432 $90000
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
