s = input("Enter the String :")
start = input("Starting Index :")
end = input("Ending Index :")
print(s[start:end])
The Sliced String is :