> For the complete documentation index, see [llms.txt](https://bangla-python-book.gitbook.io/python-programming-language/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://bangla-python-book.gitbook.io/python-programming-language/python-basics/doc-strings.md).

# ডক স্ট্রিংস

একাধিক লাইন কমেন্ট লিখার ক্ষেত্রে পাইথনে ট্রিপল সিঙ্গেল কোট (''' ''') অথবা ট্রিপল ডাবল কোট (""" """) ব্যবহার করা হয়। এদেরকে ডকস্ট্রিং বলা হয়। কমেন্টস ও ডক স্ট্রিং এর মাঝে অনেক পার্থক্য আছে।

```python
"""
If I really hate pressing `enter` and
typing all those hash marks, I could
just do this instead
"""
```

কোন ফাংশন,ক্লাস বা প্যাকেজের ডকুমেন্টেশন লিখার জন্য ডকস্ট্রিং ব্যবহার করা হয়। কোন ফাংশন, ক্লাস বা প্যাকেজের ডকুমেন্টেশ্ন দেখার জন্য বিল্ট-ইন help() ও **doc** ফাংশন ব্যবহার করতে পারি।

```python
>>> def func():
...     '''this is the function documentation'''
...     pass
>>> print(func.__doc__)
this is the function documentation
>>> help(func)
Help on function func in module __main__:

func()
    this is the function documentation
```
