返回列表 發帖
  1. str1=input()
  2. for i in range(len(str1)):
  3.     if str1[i].isupper():
  4.         str2=str1[i].lower()
  5.     else:
  6.         str2=str1[i].upper()
  7.     print(str2,end="")
複製代碼

TOP

返回列表