hat is the output of the following code: arr2 = np.array([[1,2,3], [4,5,6], [7,8,9]]) print(arr2[0][2]) print(arr2[2,2] ) ------ Select one: a. 3 9 b. 6 9 c. 2 5 d. None

EBK JAVA PROGRAMMING
9th Edition
ISBN:9781337671385
Author:FARRELL
Publisher:FARRELL
Chapter9: Advanced Array Concepts
Section: Chapter Questions
Problem 9RQ
icon
Related questions
Question
What is the output of the following code: arr2 = np.array([[1,2,3], [4,5,6], [7,8,9]]) print(arr2[0][2]) print(arr2[2,2] ) ------ Select one: a. 3 9 b. 6 9 c. 2 5 d. None of the others
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT