code: def pop_density(data: CityInfo) -> str:
      
      if not isinstance(data, CityInfo):
          raise AttributeError("Argument to pop_density() must be an instance of CityInfo")
      return no_dec(data.get_population() / data.get_area())
docs: Calculate the population density from the data entry