Skip to content

Commit

Permalink
Merge pull request Burnout-Devil#43 from Razor-5/patch-3
Browse files Browse the repository at this point in the history
Created code for reversal of array in python using flipud()
  • Loading branch information
Burnout-Devil committed Oct 18, 2022
2 parents 52f1bf6 + bf8e09d commit 94b7137
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ReverseOfArr.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import numpy
arr = numpy.array([2,4,6,8,10])
print("Original array: ", arr)
rev_arr = numpy.flipud(arr)
print("Reversed array: ", rev_arr)

0 comments on commit 94b7137

Please sign in to comment.