# This returns a reverse iterators

# The list method list1.reverse() will do an in place reverse

# print(reversed([1,2,3,4,5])) # This gives us a reverse iterator object

# Let's see a string example

x = "Hello"

# y = reversed(x)

# for c in y:
# 	print(c)

# or we can do

# for c in reversed(x):
# 	print(c)

# we can also reverse a string like this

print("Hello"[::-1])