s= input()
new=[]
for i in s:
if i.islower():
i=i.upper()
elif i.isupper():
i=i.lower()
else:
i=i
new.append(i)
print(''.join(new[:-1]))
第三章 7-13 字符串字母大小写转换
猜你喜欢
转载自blog.csdn.net/qq_33749437/article/details/104887784
今日推荐
周排行