唯一Python题解
2024-11-24 19:46:34
发布于:北京
1阅读
0回复
0点赞
a_char = str(input())
char_ASCII = ord(a_char)
if char_ASCII>=65 and char_ASCII<=90:
print("A")
elif char_ASCII>=97 and char_ASCII<=122:
print("a")
elif char_ASCII>=48 and char_ASCII<=57:
print(0)
else:
print("other")
这里空空如也
有帮助,赞一个