(input_string)
| 119 | return files_without_json_extension |
| 120 | |
| 121 | def is_affirmative(input_string): |
| 122 | # List of affirmative representations |
| 123 | affirmative_values = {"true", "yes", "y", "1", "yeah", "yep", "sure", "ok", "okay", "affirmative", "t"} |
| 124 | |
| 125 | # Normalize the input string to lowercase and strip any extra whitespace |
| 126 | normalized_string = input_string.strip().lower() |
| 127 | |
| 128 | # Check if the normalized string is in the set of affirmative values |
| 129 | return normalized_string in affirmative_values |
| 130 | |
| 131 | def pluralize(word, n): |
| 132 | return word if n <= 1 else word + 's' |
no outgoing calls
no test coverage detected