Why do i get this error when validating saying: The if statement can be replaced with 'var = bool(test)' (simplifiable-if-statement)
This is my code:
summer_word = "vacation"
letter = "s"
if letter in summer_word:
result = True
else:
result = False
print(result)
I really don't know what I'm doing wrong here, please help