
name="Rajat"
length=len(name)
i=0
for n in range(-1,(-length-1),-1):
    print(name[i],"\t",name[n])
    i+=1

str1 = "Hellow world"
print(str1[1])
print(str1[-1])
print(str1[-8])

#slicing

print(str1[6:])
print(str1[:5])

