Activity: Parameter Values

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

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

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
Support