filmov
tv
docstring in python||function #programming #coding python #technology #function #G&G#shorts #short

Показать описание
what is docstring?
the first string after the function is called docstring this is used to for good practice in programming
ex-
def evenOdd (x):
""'" function to check if the number is even or odd"""
if(x%2==0):
print ("even")
else:
print ("odd")
print(evenOdd_doc_)
output-
function to check if the number is even or odd
the first string after the function is called docstring this is used to for good practice in programming
ex-
def evenOdd (x):
""'" function to check if the number is even or odd"""
if(x%2==0):
print ("even")
else:
print ("odd")
print(evenOdd_doc_)
output-
function to check if the number is even or odd
#6: Python Docstrings | Python Best Practices
Python Functions - doc string | Just enough Python
Docstring in Python | How to use docstrings in Python | Python Tutorial Part #49
Documenting a Function in Python: DOCSTRING in Python - Python Tutorial for Beginners
Docstrings - Python Tips and Tricks #10
Functions |Docstring | Python Tutorial #05
Functions in Python are easy 📞
Docstrings in Python #Shorts
Python Tutorial: Docstrings
Python 3.6 Tutorial #15(Docstrings, Annotations and the basics of PEP8)
docstrings in python | multiline strings | #Python | @pythink1 | #python for beginners
Def and Docstring In Python
Python - Function Documentation using docstring and help() - Code Example - Learn Python Coding
Use Docstring in Python (quick guide) #pythontutorial #pythonprogramming #python
Creating Python Function docstrings and Running doctests
Python Tutorial #17: Documentation Strings or DocStrings
#6 Python Programming - Docstrings
What is Docstring in Python?
Python (eng) - Function description / docstring
Docstrings in Python
5.2 Docstrings - Python
Docstrings in python!
Python Best Practices - Use Docstrings #shorts
#46-PYTHON TUTORIAL | DOCUMENTATION STRINGS ( OR DOCSTRINGS ) IN PYTHON
Комментарии