# 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]

def reverse3(nums):
  nums.reverse()
  return nums

print(reverse3([1, 2, 3]))
print(reverse3([5, 11, 9]))
print(reverse3([7, 0, 0]))

@@ -140,16 +140,17 @@
  2, 3%5D) 
+-
 -%3E %5B3, 2
@@ -177,16 +177,17 @@
 11, 9%5D) 
+-
 -%3E %5B9, 1
@@ -214,16 +214,17 @@
  0, 0%5D) 
+-
 -%3E %5B0, 0

Update reverse3.py