Atlassian interview question

usage of slice() in python