题解 | #判断是元音还是辅音#
判断是元音还是辅音
https://www.nowcoder.com/practice/7eb4df4d52c44d309081509cf52ecbc4
lst = ['a','e','i','o','u'] while 1: try: n = input().lower() print('Vowel') if n in lst else print('Consonant') except: break
判断是元音还是辅音
https://www.nowcoder.com/practice/7eb4df4d52c44d309081509cf52ecbc4
lst = ['a','e','i','o','u'] while 1: try: n = input().lower() print('Vowel') if n in lst else print('Consonant') except: break
相关推荐