Question
In Python (notebook) Use the for loop syntax to read the following building attributes from the keyboard and save them as records in a CSV
In Python (notebook)
Use the for loop syntax to read the following building attributes from the keyboard and save them as records in a CSV file:
- latitude (decimal degrees)
- longitude (decimal degrees)
- area (square feet)
- height (feet)
Enter at least three rows/records into the CSV file. Dont give all buildings the same area or height. You will need some variability for a later activity. Note that this will be a POINT shapefile, where the latitude and longitude represent the building center.
Use the for loop syntax to display the contents of the new building data CSV file.
Submit a copy of your code, your CSV file, and a screenshot of its contents being displayed.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started