Get yes/no-like words.
Inspired by: https://github.com/sindresorhus/yes-no-words
pip install yes-no-words
import yes_no_words
yes_no_words.yes_random() # "yisss"
yes_no_words.no_random() # "absolutely not"
# test "truthy" words
yes_no_words.is_truthy("Yisss") # True
yes_no_words.is_truthy("nope") # False
# test "falsy" words
yes_no_words.is_falsy("certainly not") # True
Yes like words.
No like words.
Both yes and no like words.
Random yes like words.
Random no like words.
Random yes or no like words.
Test a word to verify if it's falsy.
Test a word to verify if it's truthy.
Apache License 2.0 ©️ Jeff Triplett