結果

問題 No.163 cAPSlOCK
ユーザー brthyyjp
提出日時 2020-12-24 07:13:21
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 42 ms / 5,000 ms
コード長 148 bytes
コンパイル時間 262 ms
コンパイル使用メモリ 82,180 KB
実行使用メモリ 52,224 KB
最終ジャッジ日時 2024-09-21 16:49:58
合計ジャッジ時間 1,825 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 20
権限があれば一括ダウンロードができます

ソースコード

diff #

s = str(input())
res = []
for c in s:
    if c.isupper():
        res.append(c.lower())
    else:
        res.append(c.upper())
print(''.join(res))
0