#string
xyz = ("My name is rohit")
print(xyz)
print(xyz[3])
print(xyz[-3])
#syntax
#starting postion : ending postion +1
print(xyz[1:6])
y = (xyz.find("r"))
print(y)
y = (xyz.find("rohits")+5)
print(y)
xyz1 = ("My name is rohit he live in rohit apartment")
y=(xyz1.find("rohit"))
z=(xyz1.find("rohit",y+1))
print(z)
print(xyz1[27:])







