STEP 5: We'll pass parameters into the function in the call line. This will assign a value to each parameter name.

  • Drag Function Call with Parameter OUTSIDE the function and change the name to draw_card.
  • Change the parameter value in the call line to the string "Sunday the 20th".
  • Add another parameter value separated by a comma: the integer 7.
  • Add a third parameter value separated by a comma: the string "summer".

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)