Question: in python Given an array of ints length 3 , return a new array with the elements in reverse order, so {1,2,3} becomes {3,2,1}. reverse3([1,2,3])[3,2,1]reverse3([5,11,9])[9,11,5]reverse3([7,0,0])[0,0,7]

in python
in python Given an array of ints length 3 , return a

Given an array of ints length 3 , return a new array with the elements in reverse order, so {1,2,3} becomes {3,2,1}. reverse3([1,2,3])[3,2,1]reverse3([5,11,9])[9,11,5]reverse3([7,0,0])[0,0,7]

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!