word = input('Word:\n')
print(word)
reverse = ''
for i in word[::-1]:
  reverse = reverse + i
print(reverse)



#recap on conditions
x = int(input("enter a number of your choice:"))
if x == 1:
  print("how are you")
else:
  print("hi")


#SLICING in python
lst = [7,2,9,2,5,8]
for i in lst[2:5]:
  print(i)
















  