Getting help
Help
In Python interactive shell: 🪄 Code:
help(math.sqrt)
📟 Output:
* IPython shell:
🪄 Code:
math.cos?
📟 Output:
* Web: https://docs.python.org/3/
🪄 Code:
import time
help(time.sleep)
📟 Output:
Help on built-in function sleep in module time:
sleep(...)
sleep(seconds)
Delay execution for a given number of seconds. The argument may be
a floating point number for subsecond precision.
Last updated
Was this helpful?