Here as we can see in the image when we slice the string from 0:len(s) we are getting the full string, but when I try to print s of len (s) instead of getting the last character it throws me n error. I'm new to python so have some mercy! thanks!!
s='hello'
print(s[0:len(s)])
print(s[len(s)])