while True: word = raw_input('please enter a word: ') if not word: break # ask for more input: print 'More input please'