#                1
#      0123456789 01234
abc = "abcdefghijklmnopqrstuvwxyz"

# print(abc[5 -1])
# print(abc[-1])

# print(abc[0:6:4])
# print(abc[0:6:5])  #ps,slices 5th character starting from beginning

# print(abc[0::6]) #phb #slices every 6th characher,after one search is done,indexing starts from that charachter only


c=abc[14:17]
d=abc[0:5]
print(c[::-1])
print(d[::-1])
print(abc[9::1])



