suryansh-code / hangman

if statement can be simplified PYL-R1703
Anti-pattern
Major
6 months ago6 months old
The if statement can be replaced with 'return bool(test)'
 97            else:
 98                continue
 99
100    if guess == secret_word:101        return True
102    else:
103        return False