FUNCTIONS: Once a function is define, we can use it as many times as we want.

Functions are useful because they can be reused! This saves you from having to copy all the function code.

  • From , drag out another Function Call to the bottom of the program. No indentation!
  • Add three more function calls and change the function name in each from my_function() to python_stamp().
  • Click Run and see how you've reused the function!

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)