STEP 12: We can pass new arguments to the function every time it's called in order to create a different invitation!

  • Click LOGIC, then and drop Call with Parameters to the bottom of the program.
  • Change the name of the function from my_function() to draw_card().
  • Change the first argument to "summer" and the second argument to "purple".
  • Add a comma and this string as a third argument: "Private Codester".

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)