We want to create a new password every few seconds. To do that we'll use an interval event.

  • Go to and drag out Interval Event.
  • Delete the line that reads ····sprite.turn_left(15)¬
  • Go to and drag out Random Integer.
  • Drop it inside of the interval event. It should have a green block ···· in front of it.

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

stage.set_background("underwater") score = 0 score_board = codesters.Display(score) weak_pws = ["password", "password123", "hello1", "snuffles", "123456"] strong_pws = ["GgbvTa581!@", "@Mjrc0olguy!", "007jmSB0nd!", "108turt!es762", "Avv3SoMe!305"] all_pws = weak_pws + strong_pws # text = codesters.Text("text", x, y, "color") password = codesters.Text("password", 100, 200, "red")
  • Run Code
  • Enviar Trabajo
  • Actividad Siguiente
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)