Closed sen1 closed 6 years ago
https://github.com/DeadMarshall/codecademy/blob/6f67a46034f5b5584c9f0e26fd028b57f73e80b6/bstinsonMurder%2BMystery.py#L171-L174
If the first check on i not in frequency_table fails then obviously i in frequency_table is true. So the second check is redundant. You can simply replace with else.
i not in frequency_table
i in frequency_table
fixed
https://github.com/DeadMarshall/codecademy/blob/6f67a46034f5b5584c9f0e26fd028b57f73e80b6/bstinsonMurder%2BMystery.py#L171-L174
If the first check on
i not in frequency_table
fails then obviouslyi in frequency_table
is true. So the second check is redundant. You can simply replace with else.