b = "HelloWorld!"
print(b[2:5]) # this method slice the strings like postion only give output  (llo(bcoz l,2 and lo5 in helloworld))

c = "Hello, World!"
print(c[:5]) # this method also slicing but it will slice first string word.

d = "Hello, World!"
print(d[2:]) # this method for slicing second string word,and first 2 position word.

e = "Hello, World!"
print(e[-5:-2]) # this method for negetive slicing.