Code: Select all
x = ([])
while True:
item = raw_input('Enter List Text (e.g. [*][url=#]LIST TEXT[/url]) (Enter "stop" to end loop):\n')
if item == 'stop':
print 'Loop Stopped.'
break
else:
item = make_link(item)
x.append(item)
print 'List Item Added\n'
for i in range(len(x)):
print '[*]' + x[i] + '\n'
< /code>
Ich möchteprint list_output
< /code>
Ausgabe: < /p>
[*]Blah
[*]Blah
[*]etc.