[CheckIO/Scientific Expedition] striped words
1. Problem: https://py.checkio.org/en/mission/striped-words/ 2. My solution import re def checkio(line: str) -> int: text = re.sub(r'[^\w\s]', " ", line) vowel_list = ["a", "e", "i", "o", "u", "y"] consonant_list = ["b", "c", "d", "f", "g", "h", "j", "k", "l", "m", "n", "p", "q", "r", "s", "t", "v", "w", "x", "z"] number_striped_words = 0 for dummy_text in text.split(" "): if dummy_text.isnumeri..
2024. 3. 24.