input: 
  from typing import List
  
  class LogAnalyzer:
      """Analyzes logs to identify patterns in the data.
      >>> LogAnalyzer().analyze(["error:critical", "info:normal", "error:warning"])
      {'errors': 2, 'information': 1}
      >>> LogAnalyzer().analyze(["error:minor", "error:minor", "info:normal"])
      {'errors': 2, 'information': 1}
      """
      def analyze(self, logs: List[str]) -> dict:
          """Analyzes a list of logs and returns a dictionary with the count of errors and information.
          Each log entry is expected to be in the format "level:description", where level is either "error" or "info".
          """
          error_count = 0
          info_count = 0
          for log in logs:
              if log.startswith("error:"):
                  error_count += 1
              elif log.startswith("info:"):
                  info_count += 1
          return {'errors': error_count, 'information': info_count}
  
output:         error_count = 0
          info_count = 0
          for log in logs:
              if log.startswith("error:"):
                  error_count += 1
              elif log.startswith("info:"):
                  info_count += 1
          return {'errors': error_count, 'information': info_count}