Skip to content

profanity_check.py has a logical error #3

@bswathi335-maker

Description

@bswathi335-maker

Critical Bug: is_profane() function has inverted logic - returns False when profanity is detected

example:
print(is_profane("hello yobbo")) # Returns False (should be True)
print(is_profane("hello world")) # Returns True (should be False)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions