def get_word_spacer(word_limit):
    """
    Return a word spacer as long as the word limit exists and the user
    doesn't want to quit.
    """
    while word_limit:
        spacer = input('Enter a symbol to separate the words in your passphrase'
                       '\n(Hit space bar and enter for no symbols): ')
        if spacer == 'q':
            word_limit = False
        else:
            return spacer