题解 | 判断是不是字母
判断是不是字母
https://www.nowcoder.com/practice/91a588dd4cd244bfa616f17603ec123c
while True:
try:
char = input()
if char.isalpha():
print(f"{char} is an alphabet.")
else:
print(f"{char} is not an alphabet.")
except:
break
查看24道真题和解析
