def get_input(prompt):
 if (sys.version_info.major >= 3):
  return input(prompt)
 else:
  return raw_input(prompt).decode(u'utf8')

def get_input ( prompt ) : if ( sys . version_info . major >= 3 ) : return input ( prompt ) else : return raw_input ( prompt ) . decode ( u'utf8' )
fetch user input and unify input prompts .