Help!
Maybe you already know the name of a Python function, but you still have to figure out how to use it. Ironically, you have to ask for information about a function with another function: help()
. In IPython specifically, you can also use ?
before the function name.
To get help on the max()
function, for example, you can use one of these calls:
help(max)
?max
Use the IPython Shell to open up the documentation on pow()
. Do this by typing ?pow
or help(pow)
and hitting Enter.
Which of the following statements is true?
This exercise is part of the course
Introduction to Python
Hands-on interactive exercise
Turn theory into action with one of our interactive exercises
