In Python, the slicing syntax secret[-1:-3] will return an empty string in most cases. secret[-1] means the last character of the string. secret[-3] means the third character from the end. In slicing ...
print(text_string[:10]) #If in the beginning there is blank then consider as Zero print(text_string[0:]) #If in the end there is blank then consider as len-1 ...