The correct statement that must occur before the line of code numpy.average(scores)
is:
import numpy
This line imports the NumPy library, allowing you to access its functions, such as average
.
What statement must occur before this line of code?
numpy.average(scores)
(1 point)
Responses
import numpy
import numpy
import average
import average
numpy import
numpy import
average import
average import
Skip to navigation
1 answer
The correct statement that must occur before the line of code numpy.average(scores)
is:
import numpy
This line imports the NumPy library, allowing you to access its functions, such as average
.