STEP 4: Before we decode our secret message, we need to have a place to store the revealed message.

In Python, "" means the string is empty.

  • In , drag out String Variable.
  • Change the variable name from my_var to revealed_message.
  • Change the string from "This is a string." to just two quotation marks: "".

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

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)