python revessed keywordk code example
Example: reverse in python 3
# create list of integers or strings
number = [1,2,3,4,5]
# pass the values using the reverse method.
number.reverse()
# Then print the variable as such:
print(number)
# create list of integers or strings
number = [1,2,3,4,5]
# pass the values using the reverse method.
number.reverse()
# Then print the variable as such:
print(number)