6. Python program to print the elements of an array in reverse order
In this program, we need to print the elements of the array in reverse order that is; the last element should be displayed first, followed by second last element and so on.
Above array in reversed order:
Original array: 1 2 3 4 5 Array in reverse order: 5 4 3 2 1
JavaTpoint offers too many high quality services. Mail us on [email protected], to get more information about given services.
JavaTpoint offers college campus training on Core Java, Advance Java, .Net, Android, Hadoop, PHP, Web Technology and Python. Please mail your requirement at [email protected]
Duration: 1 week to 2 week