"""
script che data una stringa stampa tutte le sue sottostringhe (usando ciclo while)
"""
my_str = 'atc' 
print("la stringa data e' %s" % my_str)
print("le sottostringhe sono:")
i = 1
while (i < len(my_str)+1):
	j = 0
	while (j < i):
		print("i:%d j:%d" % (i,j))
		print(my_str[j:i])
		j += 1
	i+=1



