-Code
s = input()
print(f"{s.count('A')} : {s.count('B')}")
'Beakjoon&프로그래머스 > 파이썬' 카테고리의 다른 글
[백준/파이썬] 26766번 Serca (0) | 2022.12.26 |
---|---|
[백준/파이썬] 26575번 Pups (0) | 2022.12.25 |
[백준/파이썬] 26574번 Copier (0) | 2022.12.23 |
[백준/파이썬] 26711번 A+B (0) | 2022.12.22 |
[백준/파이썬] 26545번 Mathematics (0) | 2022.12.21 |