Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
86968 丁俊杰 元音字母转换 Python3 Accepted 31 MS 3748 KB 284 2024-07-31 19:26:14

Tests(1/1):


Code:

n=int(input()) results=[] for _ in range(n): a=input() new_word="" for x in a: if x in "aeiouAEIOU": new_word+=x.upper() else: new_word+=x.lower() results.append(new_word) for result in results: print(result)