["By adding comments with # symbol inside the function","By using the doc() function","By placing the documentation in triple quotes (","By using the help() function after the function definition"]