011 - Python ejercicios w3 -docstring of a function

3 years ago
3

011 - Python ejercicios w3 -docstring of a function

En este ejercicio mandamos imprimir la documentación de algunas funciones por medio de __doc__

Con __doc__ se manda imprimir el "doctring" que es un string que se pone al inicio de un method, clase, función, etc.

Link de mi Jupyter Notebook en Github:
https://github.com/javier-cantu/LearningPython/blob/master/w3resource_python_ex/011%20Print%20the%20documents%20of%20Python%20built-in%20function(s).ipynb

--------------------------

Link del ejercicio:
https://www.w3resource.com/python-exercises/python-basic-exercise-11.php

Link de stack overflow donde se explica __doc__:
https://stackoverflow.com/questions/33066383/print-doc-in-python-3-script?answertab=votes#tab-top

Link a la documentación de Python:
https://docs.python.org/3/reference/datamodel.html

--------------------------

Jupyter ShortCuts
Insert:
a = Incert Cell Above
b = Incert Cell Below
Cell:
Shift + Enter = Run Cells and Select Below
d,d = Delete cell
Cell Type:
y = Code
m = Markdown
Kernel:
Restart = 0,0

Loading comments...