with this code I always get the same result
ary = [1,2,3,4,5,6,7,8,9,0]
number = 8
#=> ary = [9, 7, 0, 1, 3, 6, 8, 2, 5, 4]
That is what I want, but is there anything how I can undo this so that:
#=> ary = [1,2,3,4,5,6,7,8,9,0]
I have tried some things but they all do not work.
I am looking forward to hear from you.