본문 바로가기
Beakjoon&프로그래머스/파이썬

[백준/파이썬] 27310번 :chino_shock:

by 현장 2023. 2. 5.

-Code

s = input()
print(len(s) + s.count(':') + (s.count('_') * 5))