random kirbys

from random import randint, random stage.set_background("summer") address = "https://www.mariowiki.com/images/thumb/0/07/Kirby_SSBU.png/250px-Kirby_SSBU.png" all_kirbys = [ ] # empty list for i in range(10): random_x = randint(-200, 200) random_y = randint(-200, 200) me = codesters.Sprite(address, random_x, random_y) all_kirbys.append(me) for sprite in all_kirbys: sprite.set_size(random())
  • Run Code
  • Show Console
  • Codesters How To (opens in a new tab)