結果

問題 No.163 cAPSlOCK
ユーザー togatoga
提出日時 2015-08-22 12:29:57
言語 Python2
(2.7.18)
結果
AC  
実行時間 11 ms / 5,000 ms
コード長 151 bytes
コンパイル時間 48 ms
コンパイル使用メモリ 7,040 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-07-18 12:43:14
合計ジャッジ時間 1,096 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 20
権限があれば一括ダウンロードができます

ソースコード

diff #

A = raw_input()
ans = ""
B = [0, 1, 3]
for i in A:
    if (i.isupper()):
        ans += i.lower()
    else:
        ans += i.upper()
print ans        
0