1. सीखें
  2. /
  3. पाठ्यक्रम
  4. /
  5. Intermediate Python for Developers

Connected

अभ्यास

Multi-line docstrings

Sometimes single-line docstrings are sufficient, but if your function is more complex or has several arguments, then it is generally a better choice to include a multi-line docstring.

You'll practice this by creating a multi-line docstring for the clean_text() function you made earlier.

निर्देश 1/3

undefined XP
    1
    2
    3
  • Add the following summary to the docstring: Clean text by swapping spaces to underscores and converting to lowercase..