Steve schrieb:
> I've created a Python program that a user enteres one line of text which
> will then create an acronym from that text.
> 
> What I want to add to the program is the abilty to rerun this process
> (where the user enteres another line of text) until the user has had
> enough and enters a blank line which would then end the program.

You can do this with a while loop. If the user enters a blank line you
can break out of the loop:


while true:
    (some code)
    if not line:
        break

Thomas
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to