Page 1 of 1

Question 2 How to Attempt? Reverse an Array Write a function that returns the reverse of the input array. Input Specific

Posted: Sun Jul 03, 2022 12:01 pm
by answerhappygod
Question 2 How To Attempt Reverse An Array Write A Function That Returns The Reverse Of The Input Array Input Specific 1
Question 2 How To Attempt Reverse An Array Write A Function That Returns The Reverse Of The Input Array Input Specific 1 (466.66 KiB) Viewed 24 times
Question 2 How To Attempt Reverse An Array Write A Function That Returns The Reverse Of The Input Array Input Specific 2
Question 2 How To Attempt Reverse An Array Write A Function That Returns The Reverse Of The Input Array Input Specific 2 (282.62 KiB) Viewed 24 times
I need only code in python very quickly
Question 2 How to Attempt? Reverse an Array Write a function that returns the reverse of the input array. Input Specification: input1: an array of numbers input2: length of the array (input1) Output Specification: Return an array in reverse order. Example 1 input1: (1,2,3) input2: 3 Output: 3,2,1) Explanation: The reverse of array (1,2,3) would be (3,2,1). Example 2 input1: (2,5,6,0.1) input2: 5 Output: (1.065,2) Explanation: The reverse of array (25,6,0,1) would be (1,0,6,5,2).
THONS MN MYSUP 0 0 0 1 3 2 # Read only region start class UserMainCode(object): 7 9 Attempted: 0/4 JNM ΒΆ 2 Compiler: Python 3.6 @classmethod def reverse(cls, input1, input2): input1: int[] input2 : int Expected return type: int[] LEE # Read only region end #Write code here pass