Docstrings — Study Resources & PYQs
Docstrings in Python functions
- Estimated study time: 60 minutes
Study resources
- Docstrings in Python (Article) — Covers one-line and multi-line docstrings, accessing via __doc__, and using docstrings for function documentation.
- PEP 257 -- Docstring Conventions (Article) — The official Python style guide for writing consistent, well-formed docstrings.
- Built-in Functions Reference (Article) — Official Python reference for all built-in functions: print(), input(), len(), range(), map(), filter(), sorted() and more.
- Python Tutorial — Python 3 Documentation (Article) — Official Python tutorial covering syntax, control flow, data structures, functions and core programming concepts.
- Data Types – Integer, Float & String (Article) — Covers Python built-in data types: int, float, complex, str with type() function, type conversion, and examples.
Taught in these subjects
- Python Programming — CSO-3505 · Government College of Engineering and Technology, Jammu
- Python Programming — CSO-3505 · Government College of Engineering and Technology, Jammu
- Python Programming — CSO-3505 · Government College of Engineering and Technology, Jammu
- Python Programming — CSO-3505 · Government College of Engineering and Technology, Jammu