It is often the case that real-world data are imperfect and contain errors and omissions. Applications that process such data have to program defensively to work around such flaws; your program should do the same. In particular:
Category in input data Flora/fauna category Algae
Fungi
Nonvascular Plant
Vascular PlantFlora Amphibian
Bird
Crab/Lobster/Shrimp
Fish
Insect
Invertebrate
Mammal
Reptile
Slug/Snail
Spider/Scorpion
Fauna anything else ignore it
Of this information, we will use only the Park Name and Acres fields in this assignment. An example of a park information file is given here.
Park Name State Acres Latitude Longitude
Of this information, we will only use the Park Name and Category fields in this assignment. An example of a species information file is given here.
Park Name Category Scientific name Common names Occurrence Nativeness Abundance Seasonality Conservation status (empty)
print("{} -- flora: {:f} per acre; fauna: {:f} per acre".format(park_name, flora_per_acre, fauna_per_acre))
print("{} -- no data available".format(park_name))
### INVARIANT: ...your invariant in English and/or Pythonor
### ASSUMPTION: ...your assumption in English and/or Python