class linha ():
def __init__ (self, texto):
self.texto = texto
def criador ():
for i in range(5):
a = raw_input ('escreva: ')
global objetoi
objetoi = linha (a)
How do I get the criador
function to generate a different object for each loop in the for
loop?