range function for string in python