code: def get_charge(chebi_id):
      '''Returns charge'''
      if len(__CHARGES) == 0:
          __parse_chemical_data()
  
      return __CHARGES[chebi_id] if chebi_id in __CHARGES else float('NaN'f get_charge(chebi_id):
      '''Returns charge'''
      if len(__CHARGES) == 0:
          __parse_chemical_data()
  
      return __CHARGES[chebi_id] if chebi_id in __CHARGES else float('NaN')
docs: Returns charge