code: def team_info():
      
      teams = __get_league_object().find('teams').findall('team')
      output = []
      for team in teams:
          info = {}
          for x in team.attrib:
              info[x] = team.attrib[x]
          output.append(info)
      return output
docs: Returns a list of team information dictionaries