Suppose I have a list as the following:
list={{1,9},{7,0},{8,6}....}
How can I reverse the element in such way that the output would be the following:
{{9,1},{0,7},{6,8}....}
I tried Map[Reverse,{list}]
but it didn't work.
Suppose I have a list as the following:
list={{1,9},{7,0},{8,6}....}
How can I reverse the element in such way that the output would be the following:
{{9,1},{0,7},{6,8}....}
I tried Map[Reverse,{list}]
but it didn't work.
Comments
Post a Comment