Activity: Integers

STEP 3: We can use an action to make our sprite move down. We change the number in the action to control distance.

  • Go to . Drag out Move Down and drop it at the bottom of your program.
  • Change the integer argument in .move_down() from 50 to 100.

We call numbers that do not have decimal or fractional parts in them integers. Integers are always blue and not surrounded by quotes, such as: 1, 2, and 3.

stage.set_background("concert") sprite = codesters.Sprite("person1")