Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
92945 | Hope | 08大小写转换 | Python3 | Accepted | 45 MS | 3760 KB | 186 | 2024-10-07 10:29:51 |
s = input().split() # s = list(map(int, s)) if ord('a') <= ord(s[0]) <= ord('z'): print(chr(ord(s[0]) - 32)) if ord('A') <= ord(s[0]) <= ord('Z'): print(chr(ord(s[0]) + 32))