ddl

hwww 发表于 1年前 · 关联问题 字符转换

ch = input('') if ch >= 'A' and ch <= 'Z':

print(ch.lower())

elif ch >= 'a' and ch <= 'z':

print(ch.upper())

else:

print(ord(ch))

lr580 发表于 1年前

想要更好的排版?

快去学 markdown

https://oj.socoding.cn/discuss/view?id=426