結果

問題 No.163 cAPSlOCK
ユーザー miya145592
提出日時 2023-05-03 18:39:05
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 40 ms / 5,000 ms
コード長 134 bytes
コンパイル時間 405 ms
コンパイル使用メモリ 81,920 KB
実行使用メモリ 51,968 KB
最終ジャッジ日時 2024-11-21 20:11:03
合計ジャッジ時間 2,039 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 20
権限があれば一括ダウンロードができます

ソースコード

diff #

S = input()
T = []
for s in S:
    if s.islower():
        T.append(s.upper())
    else:
        T.append(s.lower())
print("".join(T))
0