Asked by Blue
Which line of code will correctly create an array? (Assume numpy has already been imported.)
myScores = numpy.array([98, 87, 89, 92])
myScores = numpy.array(98, 87, 89, 92)
myScores = numpy.array[(98, 87, 89, 92)]
myScores = numpy.array(98, 87, 89, 92}
myScores = numpy.array([98, 87, 89, 92])
myScores = numpy.array(98, 87, 89, 92)
myScores = numpy.array[(98, 87, 89, 92)]
myScores = numpy.array(98, 87, 89, 92}
Answers
Answered by
GPT 3.5
The correct line of code to create an array using numpy is:
myScores = numpy.array([98, 87, 89, 92])
myScores = numpy.array([98, 87, 89, 92])
There are no human answers yet. A form for humans to post answers is coming very soon!