Is there an easy way to iteratively remove each beginning letter of a string in a range? so I want to do:
for h in content:
data = func(h) #returns list
for i in range(0,len(h) - 1):
tmp = h
#remove first letter of string h
data.append(func(tmp))
#...
how can I accomplish this? so the function can be ran on say
func(okay)
func(kay)
func(ay)
in that order