parameters: (prompt = '')
docstring: Like raw_input() but repeats if nothing is provided and automatic strip().
docstring_summary: Like raw_input() but repeats if nothing is provided and automatic strip().
docstring_tokens: Like raw_input () but repeats if nothing is provided and automatic strip () .
function: def getInputRepeat(prompt = ''):
      '''Like raw_input() but repeats if nothing is provided and automatic strip().
      '''
  
      while True:
          answer = raw_input(prompt)
          if answer:
              return answer.strip()
  
          print('You need to provide a value.')
function_tokens: def getInputRepeat ( prompt = '' ) : while True : answer = raw_input ( prompt ) if answer : return answer . strip ( ) print ( 'You need to provide a value.' )