#!/usr/bin/python





##1st



a="kiran"

b="kriankumar"

len(a)-1

b[5:]



##2nd

a="hello \n"

b=a.strip("\n")

b







##3rd q's

a =" Hello World"

print a.replace("Hello", "Good Bye")



36bbc6eef108de032c0e8b75cc1d65a18c9bc179
#!/usr/bin/python





##1st



a="kiran"

b="kriankumar"

len(a)-1

b[5:]



##2nd

a="hello \n"

b=a.strip("\n")

b







##3rd q's

a =" Hello World"

print a.replace("Hello", "Good Bye")


