Normalize text by removing whitespace and converting to lowercase.
(text)
| 610 | |
| 611 | |
| 612 | def normalize_text(text): |
| 613 | """Normalize text by removing whitespace and converting to lowercase.""" |
| 614 | return "".join(text.split()).lower() if text else "" |
| 615 | |
| 616 | |
| 617 | def normalize_list(lst): |
no outgoing calls
no test coverage detected