cro_list = ['c=', 'c-', 'dz=', 'd-', 'lj', 'nj', 's=', 'z=']
a = input()
for i in cro_list:
if i in cro_list:
a = a.replace(i, '0')
print(len(a))'Programming > python' 카테고리의 다른 글
| TOCTOU PoC (0) | 2025.01.15 |
|---|---|
| 백준 4344번 python (0) | 2021.03.17 |
| 백준 2741번 python (0) | 2021.03.17 |
| 백준 2577번 python (0) | 2021.03.17 |
| 백준 2446번 python (0) | 2021.03.17 |