STEP 2: Let's use a loop to assign repeated action to our sprite!

Remember, we need to add a command in the for loop or it won't run.

  • In the LOGIC tab, go to and drag out Loop with Range.
  • Go to and drag out Turn Right. Drop it right below the line ····#·add·code·here¬
  • Change the name in front of .turn_right() to singer.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)