โ Back to Loops
Question 120
Loop: Reverse an Array
Loop: Reverse an Array
Build a new array with the elements ofnumsin reverse order (without using the built-inreverse), then print it joined by", ". Expected output: 5, 4, 3, 2, 1
Expected Output:
5, 4, 3, 2, 1
Topics:
Loops
Code Editor
1
Tab to indent ยท Ctrl+Enter to run ยท Ctrl+Space to expand shortcuts (clog, fn, fori)
Your Output
Run your code to see the output here...
Test Cases
Run your code to see test case results.