PASO 6: Ahora vamos a crear y colocar nuestra segunda franja dorada.

  • Ir a y arrastre un Rectangle .
  • Cambia el color de "blue" a "gold" .
  • Cambia el ancho a 700 .
  • Cambie la altura a 100 .

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

stage.set_background_color("lightblue") # sprite = codesters.Rectangle(x, y, width, height, "color") sprite = codesters.Rectangle(0, 0, 700, 100, "gold") sprite.turn_left(45)
  • Run Code
  • Enviar Trabajo
  • Actividad Siguiente
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)