SOLVED "reading rumble" help

I need some help on reading rumble
here is my code

# Defeat all incoming ogres.

while True:
    # Find the nearest enemy.
    enemy = hero.findNearestEnemy()
    # If there is an enemy, and it is a "brawler":
    if enemy and == "brawler":
        # Then say its name (.id) in UPPERCASE.
        name =
        enemyId = name.toUpperCase()
    # For other enemies, just fight.
    elif enemy:

Your hero should attack non-brawler enemies. Try comparing types:

elif enemy and enemy.type != "brawler":
1 Like

well i don’t attack the brawlers but i still don’t yell the names

I got it
(spoiler allert)

line 7 was

    if enemy and == "brawler":

when it should of been

    if enemy and enemy.type == "brawler":