pokequiz/Question.py
def removeWords(answer):
    """Removes specific words from input or answer, to allow for more leniency."""
    words = [' town', ' city', ' island', ' badge', 'professor ', 'team ']
    answer = answer.lower()
    for word in words:
        answer = answer.replace(word, '')
    return answer
Removes specific words from input or answer, to allow for more leniency.
Removes specific words from input or answer, to allow for more leniency.
Removes specific words from input or answer to allow for more leniency .
def removeWords(answer):
    words = [' town', ' city', ' island', ' badge', 'professor ', 'team ']
    answer = answer.lower()
    for word in words:
        answer = answer.replace(word, '')
    return answer
def removeWords ( answer ) : words = [ ' town' , ' city' , ' island' , ' badge' , 'professor ' , 'team ' ] answer = answer . lower ( ) for word in words : answer = answer . replace ( word , '' ) return answer
Removes specific words from input or answer, to allow for more leniency.
Removes specific words from input or answer to allow for more leniency .
"""Removes specific words from input or answer, to allow for more leniency."""
answer