Let's create a third list that stores all of the passwords.

  • Go to and drag out Add Lists.
  • Change the name of this new list to all_pws.
  • Delete the list values before the plus sign [1,·2,·3] and replace it with the name of our first list, weak_pws.
  • Delete the list values after the plus sign [4,·5,·6] and replace it with the name of our second list, strong_pws.

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"]
  • Run Code
  • 提交作品
  • 下个活动
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)