>>> while 1:
... name = raw_input( 'Enter a name: ')
... if name == 'quit' : break
...
Enter a name: joe
Enter a name: jack
Enter a name: jest
Enter a name: kare
Enter a name: quit
>>>
KeyboardInterrupt
>>>
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment