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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!