📜  def anti_vowel(text): anti = "" 元音 = ['A','E','I','O','U','a','e','i','o',' u'] for char in text: if char not in vowels: anti = anti + char return anti - 无论代码示例
📅  最后修改于: 2022-03-11 15:00:04.709000             🧑  作者: Mango
代码示例1
def is_vowel(char):
all_vowels = 'aeiou'
return char in all_vowels
print(is_vowel('c'))
print(is_vowel('e'))