CJCoding With Joseph

Loop: Reverse an Array

Build a new array with the elements of nums in reverse order (without using the built-in reverse), 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.