# Solve the riddler puzzle and find the treasure. # Count the whitespace on both sides of a riddle. # This function moves the hero N steps right. def moveNSteps(n): hero.moveXY(hero.pos.x + 8 * n, hero.pos.y) # Read the riddle. riddle = hero.findNearestEnemy().riddle # Trim whitespace from both sides and store in a variable trimmed = riddle.trim() # Find the difference between the `riddle` and `trimmed` lengths: # Use the result and moveNSteps function to move to the spot: moveNSteps() # Say something there! hero.say("somethings there!")
type or paste code here
can anyone tell me what find the difference between the riddle and trimmed lengths means?