Activity: Integers

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

Numbers that do not have decimal or fractional parts in them are called integers.

Integers are always blue and not surrounded by quotes, such as: 1, 2, and 3.

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

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